Changeset 15274


Ignore:
Timestamp:
2009-04-19T19:12:02+02:00 (7 years ago)
Author:
jow
Message:

fix broken logic in r15272, r15273

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/8.09/package/base-files/files/etc/hotplug.d/iface/10-routes

    r15273 r15274  
    2424        } 
    2525 
    26         # handle "0.0.0.0" and "interface" as "no gateway given" 
    27         # to allow defining gateway-less routes while still 
    28         # keeping the possibility to have static routes with a 
     26        # handle "0.0.0.0" as "no gateway given" to allow 
     27        # defining gateway-less routes while still keeping 
     28        # the possibility to have static routes with a 
    2929        # proper gateway on interfaces with dynamic ips  
    30         [ "$gateway" = "0.0.0.0" -o \ 
    31                 "$gateway" = "interface" ] && gateway="" 
     30        [ "$gateway" = "0.0.0.0" ] && gateway="" 
    3231 
    3332        dest="${netmask:+-net "$target" netmask "$netmask"}" 
  • trunk/package/base-files/files/etc/hotplug.d/iface/10-routes

    r15272 r15274  
    2424        } 
    2525 
    26         # handle "0.0.0.0" and "interface" as "no gateway given" 
    27         # to allow defining gateway-less routes while still 
    28         # keeping the possibility to have static routes with a 
     26        # handle "0.0.0.0" as "no gateway given" to allow 
     27        # defining gateway-less routes while still keeping 
     28        # the possibility to have static routes with a 
    2929        # proper gateway on interfaces with dynamic ips  
    30         [ "$gateway" = "0.0.0.0" -o \ 
    31                 "$gateway" = "interface" ] && gateway="" 
     30        [ "$gateway" = "0.0.0.0" ] && gateway="" 
    3231 
    3332        dest="${netmask:+-net "$target" netmask "$netmask"}" 
Note: See TracChangeset for help on using the changeset viewer.