9 lines
204 B
Bash
9 lines
204 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
if [ -d /run/systemd/system ] && [ "$1" = "remove" ]; then
|
|
systemctl stop luphoto.service >/dev/null 2>&1 || true
|
|
systemctl disable luphoto.service >/dev/null 2>&1 || true
|
|
fi
|
|
exit 0
|