aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-xrc.d/init.d/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index ffd49236..65aeef1f 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -58,7 +58,7 @@ case "$1" in
esac
for i in $interfaces; do
- if egrep -L "ONBOOT=\"?[Nn][Oo]\"?" ifcfg-$i | grep -v "^#" >/dev/null ; then
+ if egrep -L "ONBOOT=\"?[Nn][Oo]\"?" ifcfg-$i ; then
# Probe module to preserve interface ordering
/sbin/ifconfig $i >/dev/null 2>&1
else