Revert "samba: start init scripts on RUNLEVEL=boot"

This reverts commit 441cc44cc198c63302bcf11bc1aeea95e7b6b267.
This commit is contained in:
Stephan Raue 2011-09-12 19:26:46 +02:00
parent 92c250ae60
commit d2443b373f

View File

@ -22,12 +22,7 @@
#
# runlevels: openelec, textmode
SMB_USERCONF="/storage/.config/samba.conf"
SMB_DEFCONF="/etc/samba/smb.conf"
case $RUNLEVEL in
boot)
(
(
if [ -f /var/config/settings.conf ]; then
. /var/config/settings.conf
@ -37,6 +32,9 @@ case $RUNLEVEL in
progress "Starting Samba server"
SMB_USERCONF="/storage/.config/samba.conf"
SMB_DEFCONF="/etc/samba/smb.conf"
if [ -f $SMB_USERCONF ]; then
SMB_ARG="--configfile=$SMB_USERCONF"
else
@ -48,9 +46,4 @@ case $RUNLEVEL in
nmbd --daemon $SMB_ARG > /dev/null 2>&1
fi
fi
)&
;;
poweroff|reboot)
;;
esac
)&