|
From: Thomas E. <tho...@bu...> - 2004-02-10 23:50:14
|
Friedrich Lobenstock wrote:
> Thomas Eder wrote on 11.02.2004 00:30 MET:
>
>> the /etc/sysconfig/nic/ifcfg-vlanXXX doesn't work without this patch:
>>
>> --- config/etc/init.d/network.old 2004-02-11 00:09:57.000000000
>> +0100
>> +++ config/etc/init.d/network 2004-02-11 00:10:25.000000000 +0100
>> @@ -275,9 +275,9 @@
>> start)
>>
>> #
>> - # if vlan tools are installed set vlan naming shema
>> + # set vlan naming shema
>> #
>> - test -x $VLAN && $VLAN set_name_type
>> VLAN_PLUS_VID_NO_PAD &> /dev/null
>> + $VLAN set_name_type VLAN_PLUS_VID_NO_PAD &> /dev/null
>
>
>
> OK, I think after taking a closer look at the network script I know what
> the real problem is.
>
> Please change the VLAN varibale (around line 42) to reflect the full
> patch of the vconfig utility. Run "which vconfig" to find out.
>
>
--- config/etc/init.d/network.old 2004-02-11 00:09:57.000000000 +0100
+++ config/etc/init.d/network 2004-02-11 00:44:19.000000000 +0100
@@ -39,7 +39,7 @@
[ -s /etc/sysconfig/network/config ] && . /etc/sysconfig/network/config
[ -s /etc/sysconfig/network/dhcp ] && . /etc/sysconfig/network/dhcp
-VLAN=vconfig
+VLAN=/bin/vconfig
CONFIG_DIR=/etc/sysconfig/nic
CONFIG_FILE=ifcfg-
@@ -275,9 +275,9 @@
start)
#
- # if vlan tools are installed set vlan naming shema
+ # set vlan naming shema
#
- test -x $VLAN && $VLAN set_name_type VLAN_PLUS_VID_NO_PAD &> /dev/null
+ $VLAN set_name_type VLAN_PLUS_VID_NO_PAD &> /dev/null
#
# physical interfaces are brought up first
--
thomas
|