summaryrefslogtreecommitdiffstats
path: root/package/avahi/S05avahi-setup.sh
blob: f42a4d318f44b9d8926f09d11fb82027e233a40b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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