aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorPetr Lautrbach <plautrba@redhat.com>2011-01-14 15:34:39 +0100
committerPetr Lautrbach <plautrba@redhat.com>2011-01-14 15:34:39 +0100
commitbcc304450cc6c92e2eff57143f27b6c78990651c (patch)
tree6423c78a22bed170feece704db5ee391009f8e97 /sysconfig/network-scripts/network-functions
parentf1db9810c3fda50c887e33e83e80f767476dd446 (diff)
downloadinitscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.tar
initscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.tar.gz
initscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.tar.bz2
initscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.tar.xz
initscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.zip
use SYSCTLDEVICE without . (#667211, <notting@redhat.com>)
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r--sysconfig/network-scripts/network-functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 01419fc0..9abf1772 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -135,6 +135,7 @@ source_config ()
[ -z "$DEVICETYPE" ] && DEVICETYPE=$(echo ${DEVICE} | sed "s/[0-9]*$//")
[ -z "$REALDEVICE" -a -n "$PARENTDEVICE" ] && REALDEVICE=$PARENTDEVICE
[ -z "$REALDEVICE" ] && REALDEVICE=${DEVICE%%:*}
+ [ -z "$SYSCTLDEVICE" ] && SYSCTLDEVICE=${REALDEVICE/.//}
if [ "${DEVICE}" != "${REALDEVICE}" ]; then
ISALIAS=yes
else