diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-10-13 13:02:35 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-10-13 13:02:35 +0000 |
commit | 4c7fc919401ac29174e40d794e85d4d6c20de270 (patch) | |
tree | 44cad42c90119101d1d4086ecbc1c289fadb1d8e /meta/packages/avahi/files | |
parent | 5c7adfa4aad0755582561c3469d6848f115d8168 (diff) | |
download | poky-4c7fc919401ac29174e40d794e85d4d6c20de270.tar.gz |
avahi: create/remove 'avahi-autoipd' user (from OE)
Patch from Cyril Humbert <cyril.humbert@martec.fr>
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5483 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/avahi/files')
-rw-r--r-- | meta/packages/avahi/files/00avahi-autoipd | 10 | ||||
-rw-r--r-- | meta/packages/avahi/files/99avahi-autoipd | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/packages/avahi/files/00avahi-autoipd b/meta/packages/avahi/files/00avahi-autoipd new file mode 100644 index 0000000000..a0ab814603 --- /dev/null +++ b/meta/packages/avahi/files/00avahi-autoipd | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | [ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 | ||
4 | |||
5 | case "$1" in | ||
6 | |||
7 | deconfig|renew|bound) | ||
8 | /usr/sbin/avahi-autoipd -k $interface 2> /dev/null | ||
9 | ;; | ||
10 | esac | ||
diff --git a/meta/packages/avahi/files/99avahi-autoipd b/meta/packages/avahi/files/99avahi-autoipd new file mode 100644 index 0000000000..234cdaa3eb --- /dev/null +++ b/meta/packages/avahi/files/99avahi-autoipd | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | [ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 | ||
4 | |||
5 | case "$1" in | ||
6 | |||
7 | leasefail) | ||
8 | /usr/sbin/avahi-autoipd -wD $interface 2> /dev/null | ||
9 | ;; | ||
10 | esac | ||