]> git.meshlink.io Git - catta/blobdiff - avahi-autoipd/avahi-autoipd.action.linux
get rid of a lot of old svn cruft
[catta] / avahi-autoipd / avahi-autoipd.action.linux
index 27f00bb08c3102ebbfb549678c76065d07881a3e..cc9238c1303abb2ae528483802767cbd33daa5b6 100755 (executable)
@@ -1,7 +1,5 @@
 #!/bin/sh
 
-# $Id$
-#
 # This file is part of avahi.
 # 
 # avahi is free software; you can redistribute it and/or modify it
@@ -55,11 +53,11 @@ elif [ -x /bin/ifconfig -o -x /sbin/ifconfig ] ; then
 
     case "$1" in
         BIND)
-            ifconfig "$2:3" inet "$3" netmask 255.255.0.0 broadcast 169.254.255.255 up
+            ifconfig "$2:avahi" inet "$3" netmask 255.255.0.0 broadcast 169.254.255.255 up
             ;;
 
         CONFLICT|STOP|UNBIND)
-            ifconfig "$2:3" down
+            ifconfig "$2:avahi" down
             ;;
 
         *)