]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/system/network
network: Mount/umount network file systems at the correct time
[people/pmueller/ipfire-2.x.git] / src / initscripts / system / network
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