net.sh now checks to see if root is net mounted if no predown function

exists, #194074.
This commit is contained in:
Roy Marples 2007-09-28 12:46:59 +00:00
parent 6f7f447978
commit b894cdb738
2 changed files with 7 additions and 0 deletions

View File

@ -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>:

View File

@ -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