]>
Commit | Line | Data |
---|---|---|
6823ab8f JK |
1 | --- avahi-0.6.25/avahi-autoipd/avahi-autoipd.action.linux.orig 2010-05-02 15:05:38.000000000 +0200 |
2 | +++ avahi-0.6.25/avahi-autoipd/avahi-autoipd.action.linux 2010-05-02 15:14:46.000000000 +0200 | |
3 | @@ -30,17 +30,17 @@ | |
4 | # $2 interface name | |
5 | # $3 IP adddress | |
6 | ||
7 | -if [ -x /bin/ip -o -x /sbin/ip ] ; then | |
8 | +if [ -x /sbin/ip ] ; then | |
9 | ||
10 | # We have the Linux ip tool from the iproute package | |
11 | ||
12 | case "$1" in | |
13 | BIND) | |
14 | - ip addr add "$3"/16 brd 169.254.255.255 label "$2:avahi" scope link dev "$2" | |
15 | + /sbin/ip addr add "$3"/16 brd 169.254.255.255 label "$2:avahi" scope link dev "$2" | |
16 | ;; | |
17 | ||
18 | CONFLICT|UNBIND|STOP) | |
19 | - ip addr del "$3"/16 brd 169.254.255.255 label "$2:avahi" scope link dev "$2" | |
20 | + /sbin/ip addr del "$3"/16 brd 169.254.255.255 label "$2:avahi" scope link dev "$2" | |
21 | ;; | |
22 | ||
23 | *) |