mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
Revert "samba: start init scripts on RUNLEVEL=boot"
This reverts commit 441cc44cc198c63302bcf11bc1aeea95e7b6b267.
This commit is contained in:
parent
92c250ae60
commit
d2443b373f
@ -22,11 +22,6 @@
|
||||
#
|
||||
# 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
|
||||
@ -49,8 +47,3 @@ case $RUNLEVEL in
|
||||
fi
|
||||
fi
|
||||
)&
|
||||
;;
|
||||
|
||||
poweroff|reboot)
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user