Script-Bugfixes, init.d
This commit is contained in:
2
debian/etc/init.d/foodoord
vendored
2
debian/etc/init.d/foodoord
vendored
@ -16,7 +16,7 @@
|
||||
# PATH should only include /usr/* if it runs after the mountnfs.sh script
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC="foodoor daemon"
|
||||
WHERE=$(cat /etc/foodoord.conf | grep 'where' | awk -F '=' '{ print $2 }')
|
||||
WHERE=$(cat /etc/foodoord.conf | grep 'where' | awk -F '=' '{ print $2 }' | tr -d ' ')
|
||||
NAME=foodoord_${WHERE}
|
||||
DAEMON=/usr/sbin/$NAME
|
||||
#DAEMON_ARGS="--options args"
|
||||
|
Reference in New Issue
Block a user