]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
network: Mount/umount network file systems at the correct time
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 17 Nov 2020 16:35:13 +0000 (16:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 17 Nov 2020 16:35:13 +0000 (16:35 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/153/filelists/files
src/initscripts/system/network

index fddb5d68a31754ea40c8b11ddacf608bc419f3cd..10a19f87088b894559f331476dd7f0e934486125 100644 (file)
@@ -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
index 6e7120885f32a6bd4725c2203af3eae5968ee55e..32b34343e1236de544cc2c492fe5179be1577042 100644 (file)
@@ -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