mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
network: Mount/umount network file systems at the correct time
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
etc/issue
|
||||
etc/ntp.conf
|
||||
etc/os-release
|
||||
etc/rc.d/init.d/network
|
||||
etc/rc.d/init.d/unbound
|
||||
etc/system-release
|
||||
etc/sysctl.conf
|
||||
|
||||
@@ -67,9 +67,17 @@ case "${DO}" in
|
||||
/usr/local/bin/ipsec-interfaces
|
||||
|
||||
/etc/rc.d/init.d/static-routes start
|
||||
|
||||
boot_mesg "Mounting network file systems..."
|
||||
mount -a -O _netdev
|
||||
evaluate_retval
|
||||
;;
|
||||
|
||||
stop)
|
||||
boot_mesg "Umounting network file systems..."
|
||||
umount -a -O _netdev
|
||||
evaluate_retval
|
||||
|
||||
# Stopping interfaces...
|
||||
# GREEN
|
||||
[ "$green" == "1" ] && /etc/rc.d/init.d/networking/green stop
|
||||
|
||||
Reference in New Issue
Block a user