Closed dirteat closed 4 years ago
I would suggest replacing this with something like if ( . ./ifcfg-$i ; is_false $ONBOOT ; ) ; then .... Using standard is_true/is_false function but sourcing the ifcfg file in the subshell, so we don't mess up the current environment.
Hi, Pull request #301 should fix your issue. In case It won't, please let me know.
Fixed in initscripts 10.03
Spotted by M. W. on Mageia:
This breaks the init.d/network scripts there:
if LANG=C grep -EL "^ONBOOT=['\"]?[Nn][Oo]['\"]?" ifcfg-$i > /dev/null ;
then
# this loads the module, to preserve ordering
is_available $i
continue
fi
and just after for the
# Bring up xDSL and VPN interfaces
.The fix is to either use a negation, or the negated option
-l
Cheers, Chris.