|
From: Friedrich L. <fl...@fl...> - 2004-02-10 23:58:29
|
Thomas Eder wrote on 11.02.2004 00:49 MET: > 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. > > > -VLAN=vconfig > +VLAN=/bin/vconfig > > ..[..cut..].. > - # 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 If you change the above then the "test -x" should successfully run the vlan utility. Please test with only changing the VLAN variable. THX. -- MfG / Regards Friedrich Lobenstock ____________________________________________________________________ Friedrich Lobenstock Linux Services Lobenstock URL: http://www.lsl.at/ Email: fl...@fl... ____________________________________________________________________ |