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,11 +22,6 @@
# #
# runlevels: openelec, textmode # 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 if [ -f /var/config/settings.conf ]; then
. /var/config/settings.conf . /var/config/settings.conf
@ -37,6 +32,9 @@ case $RUNLEVEL in
progress "Starting Samba server" progress "Starting Samba server"
SMB_USERCONF="/storage/.config/samba.conf"
SMB_DEFCONF="/etc/samba/smb.conf"
if [ -f $SMB_USERCONF ]; then if [ -f $SMB_USERCONF ]; then
SMB_ARG="--configfile=$SMB_USERCONF" SMB_ARG="--configfile=$SMB_USERCONF"
else else
@ -49,8 +47,3 @@ case $RUNLEVEL in
fi fi
fi fi
)& )&
;;
poweroff|reboot)
;;
esac