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
|
|
|
|
chown default.default /tmp/avahi-autoipd
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
stop) ;;
|
|
|
|
*)
|
|
|
|
echo "Usage: S05avahi-setup.sh {start|stop}" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|