diff options
author | Roy Marples <roy@marples.name> | 2007-09-28 12:46:59 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-09-28 12:46:59 +0000 |
commit | b894cdb7383a35d63f16c59bc31c5c619e64db0d (patch) | |
tree | d9ea1891cf1c4ca7577ec9351f85d12be5616723 | |
parent | 6f7f447978025c9d49a0d2a0a5a6a29384ba80c8 (diff) |
net.sh now checks to see if root is net mounted if no predown function
exists, #194074.
-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 |