2006-12-12 23:26:51 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
start|"")
|
2012-01-26 15:19:26 +01:00
|
|
|
if [ ! -d /tmp/avahi-autoipd ]; then
|
2006-12-12 23:26:51 +01:00
|
|
|
rm -rf /tmp/avahi-autoipd
|
|
|
|
mkdir /tmp/avahi-autoipd
|
2014-06-23 11:36:30 +02:00
|
|
|
chown avahi.avahi /tmp/avahi-autoipd
|
2006-12-12 23:26:51 +01:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
stop) ;;
|
|
|
|
*)
|
|
|
|
echo "Usage: S05avahi-setup.sh {start|stop}" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|