start network-dependent services even when no active network connection is available

This commit is contained in:
Calin Crisan 2017-02-09 21:45:04 +02:00
parent f748ea3e6c
commit 28cb7634c7
4 changed files with 5 additions and 5 deletions

View File

@ -29,7 +29,7 @@ test -f $conf || exit 0
test -n "$os_version" || source /etc/init.d/base
test -n "$os_debug" || source /etc/init.d/conf
has_net_conn || exit 0
test "$os_networkless" == "true" && exit 0
date_timeout=10
date_method=http

View File

@ -7,7 +7,7 @@ test -f $conf || exit 0
test -n "$os_version" || source /etc/init.d/base
test -n "$os_debug" || source /etc/init.d/conf
has_net_conn || exit 0
test "$os_networkless" == "true" && exit 0
start() {
msg_begin "Starting sshd"

View File

@ -5,7 +5,7 @@ test -f /etc/proftpd.conf || exit 0
test -n "$os_version" || source /etc/init.d/base
test -n "$os_debug" || source /etc/init.d/conf
has_net_conn || exit 0
test "$os_networkless" == "true" && exit 0
start() {
msg_begin "Starting proftpd"

View File

@ -5,7 +5,7 @@ test -f /etc/samba/smb.conf || exit 0
test -n "$os_version" || source /etc/init.d/base
test -n "$os_debug" || source /etc/init.d/conf
has_net_conn || exit 0
test "$os_networkless" == "true" && exit 0
start() {
msg_begin "Setting smb admin password"