mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 04:52:59 +02:00
ntp: fix wait for red if dhcp or wpasupplicant is running.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -4,6 +4,7 @@ etc/rc.d/init.d/dhcp
|
||||
etc/rc.d/init.d/network
|
||||
etc/rc.d/init.d/networking/red.down/05-update-dns-forwarders
|
||||
etc/rc.d/init.d/networking/red.up/05-update-dns-forwarders
|
||||
etc/rc.d/init.d/ntp
|
||||
etc/rc.d/init.d/unbound
|
||||
etc/rc.d/rc0.d/K79unbound
|
||||
etc/rc.d/rc3.d/S21unbound
|
||||
|
||||
@@ -10,7 +10,8 @@ case "$1" in
|
||||
start)
|
||||
if [ "$ENABLESETONBOOT" == "on" ]; then
|
||||
boot_mesg -n "Setting time on boot..."
|
||||
if [ $(pidof wpa_supplicant dhcpcd) ]; then
|
||||
pidof wpa_supplicant dhcpcd 2>&1 > /dev/null
|
||||
if [ "${?}" == "0" ]; then
|
||||
if [ ! -e /var/ipfire/red/active ]; then
|
||||
boot_mesg ""
|
||||
boot_mesg -n "Waiting for red connection"
|
||||
|
||||
Reference in New Issue
Block a user