kumquat-buildroot/package/avahi/S05avahi-setup.sh
Peter Korsgaard 7c4c38403d avahi: S05avahi-setup.sh: fix s/pid/ipd/ typo
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-26 15:19:26 +01:00

17 lines
278 B
Bash
Executable File

#!/bin/sh
case "$1" in
start|"")
if [ ! -d /tmp/avahi-autoipd ]; then
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