aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-12-16 12:14:08 +0100
committerLukas Nykryn <lnykryn@redhat.com>2014-12-16 12:14:08 +0100
commit2444fc5a4060e4f78059b1bff9fa37a10b6fd648 (patch)
tree6b08d0b6911e171eabeaa7ec338fc9fd9dadacb9
parente906dada40477589daa3c2aaeb994a08f740b89e (diff)
downloadinitscripts-2444fc5a4060e4f78059b1bff9fa37a10b6fd648.tar
initscripts-2444fc5a4060e4f78059b1bff9fa37a10b6fd648.tar.gz
initscripts-2444fc5a4060e4f78059b1bff9fa37a10b6fd648.tar.bz2
initscripts-2444fc5a4060e4f78059b1bff9fa37a10b6fd648.tar.xz
initscripts-2444fc5a4060e4f78059b1bff9fa37a10b6fd648.zip
ifup: fix typo
-rwxr-xr-xsysconfig/network-scripts/ifup2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 911707e0..bb586851 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -90,7 +90,7 @@ if [ "${VLAN}" = "yes" ] && [ "$ISALIAS" = "no" ] && [ -n $DEVICE ]; then
fi
MATCH='^vlan[0-9]{1,4}?'
if [[ "${DEVICE}" =~ $MATCH ]]; then
- VID=$(echo "${DEVICE}" | LC_ALL=C sed 's/^vlan0*//'):
+ VID=$(echo "${DEVICE}" | LC_ALL=C sed 's/^vlan0*//')
# PHYSDEV should be set in ifcfg-vlan* file
if test -z "$PHYSDEV"; then
net_log $"PHYSDEV should be set for device ${DEVICE}"