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 /sh | |
parent | 6f7f447978025c9d49a0d2a0a5a6a29384ba80c8 (diff) |
net.sh now checks to see if root is net mounted if no predown function
exists, #194074.
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/net.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |