aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-02-01 01:49:47 +0000
committerBill Nottingham <notting@redhat.com>2005-02-01 01:49:47 +0000
commitd970c83241173cf4e71cb1549a6c64ffb4461127 (patch)
treeabe3ff7773eb433e09df5deaa575f863dbfa88e8 /sysconfig/network-scripts/network-functions
parent50020584d60f6d41f9dd36656a625d830d879f45 (diff)
downloadinitscripts-d970c83241173cf4e71cb1549a6c64ffb4461127.tar
initscripts-d970c83241173cf4e71cb1549a6c64ffb4461127.tar.gz
initscripts-d970c83241173cf4e71cb1549a6c64ffb4461127.tar.bz2
initscripts-d970c83241173cf4e71cb1549a6c64ffb4461127.tar.xz
initscripts-d970c83241173cf4e71cb1549a6c64ffb4461127.zip
unbreak the "cleanup"
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 68cac4d9..5bfb4724 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -32,7 +32,7 @@ need_config ()
source_config ()
{
- DEVNAME=${CONFIG##*/ifcfg-} #DEVNAME=`basename $CONFIG | sed 's/^ifcfg-//g'`
+ DEVNAME=`basename $CONFIG | sed 's/^ifcfg-//g'`
if echo ${CONFIG##*/} | grep -q '[^g]-' ; then
PARENTCONFIG=`echo $CONFIG | sed 's/-[^-]*$//g'`
PARENTDEVNAME=${PARENTCONFIG##*/ifcfg-}