diff options
-rwxr-xr-x | rc.d/init.d/network | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 9b86aa70..38d081d6 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -51,7 +51,7 @@ cd /etc/sysconfig/network-scripts # find all the interfaces besides loopback. # ignore aliases, alternative configurations, and editor backup files -interfaces=$(ls ifcfg* | \ +interfaces=$(/bin/ls ifcfg* | \ LC_ALL=C sed -e "$__sed_discard_ignored_files" \ -e '/\(ifcfg-lo$\|:\|ifcfg-.*-range\)/d' \ -e '/ifcfg-[A-Za-z0-9#\._-]\+$/ { s/^ifcfg-//g;s/[0-9]/ &/}' | \ @@ -126,6 +126,9 @@ case "$1" in if [ "$SLAVE" = "yes" ]; then continue fi + if [ "$TYPE" = "Wireless" ]; then + continue + fi if [ "${DEVICE##cipcb}" != "$DEVICE" ] ; then vpninterfaces="$vpninterfaces $i" |