diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rwxr-xr-x | sh/net.sh | 5 |
2 files changed, 7 insertions, 0 deletions
@@ -3,6 +3,8 @@ 28 Sep 2007; Roy Marples <uberlord@gentoo.org>: + net.sh now checks to see if root is net mounted if no predown function + exists, #194074. enums are now fixed to specific values and are in UPPER CASE. 26 Sep 2007; Roy Marples <uberlord@gentoo.org>: @@ -554,6 +554,11 @@ stop() { eindent predown || return 1 eoutdent + else + if is_net_fs /; then + eerror "root filesystem is network mounted -- can't stop ${IFACE}" + return 1 + fi fi for module in ${MODULES} ; do |