rc-scripts/trunk/sysconfig/network-scripts/ifup

Michal Kochanowicz michal w michal.waw.pl
Sob, 11 Paź 2003, 13:46:13 CEST


On Sat, Oct 11, 2003 at 12:59:36PM +0200, wiget wrote:
> Author: wiget
> Date: Sat Oct 11 12:59:34 2003
> New Revision: 1432
> 
> Modified:
>    rc-scripts/trunk/sysconfig/network-scripts/ifup
> Log:
> - if invoced from hotplug bring up only interface with HOTPLUG=yes
> 
> 
> Modified: rc-scripts/trunk/sysconfig/network-scripts/ifup
> ==============================================================================
> --- rc-scripts/trunk/sysconfig/network-scripts/ifup	(original)
> +++ rc-scripts/trunk/sysconfig/network-scripts/ifup	Sat Oct 11 12:59:34 2003
> @@ -49,7 +49,7 @@
>      exit
>  fi
>  
> -if [ "foo$2" = "foohotplug" ] && is_yes "${ONBOOT}"; then
> +if [ "foo$2" = "foohotplug" ] && ! is_yes "${HOTPLUG}"; then
        ^^^^^^^^^^^^^^^^^^^^^^
Po co takie konstrukcje? Przecież wystarczy:
"$2" = 'hotplug'
?
-- 
--= Michal Kochanowicz =--==--==BOFH==--==--= michal w michal.waw.pl =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!



Więcej informacji o liście dyskusyjnej pld-devel-pl