Fixes for debian init.d scripts.

This commit is contained in:
Jan Vidar Krey 2010-01-26 17:46:47 +01:00
parent 4b64b28777
commit 01efc6cc20
2 changed files with 1 additions and 1 deletions

1
debian/uhub.init vendored
View File

@ -28,6 +28,7 @@ test -x $DAEMON || exit 0
. /lib/lsb/init-functions . /lib/lsb/init-functions
ulimit -n 65536 ulimit -n 65536
mkdir -p /var/run/uhub/
set -e set -e

View File

@ -4,7 +4,6 @@ set -e
case "$1" in case "$1" in
configure) configure)
chmod 0750 /var/log/uhub chmod 0750 /var/log/uhub
chmod 0755 /var/run/uhub
if [ -x /etc/init.d/uhub ]; then if [ -x /etc/init.d/uhub ]; then
update-rc.d uhub defaults >/dev/null update-rc.d uhub defaults >/dev/null