ubuntu-buildroot/package/avahi/S05avahi-setup.sh

17 lines
274 B
Bash
Raw Normal View History

2024-04-01 15:19:46 +00:00
#!/bin/sh
case "$1" in
start|"")
if [ ! -d /tmp/avahi-autoipd ]; then
rm -rf /tmp/avahi-autoipd
mkdir /tmp/avahi-autoipd
chown avahi:avahi /tmp/avahi-autoipd
fi
;;
stop) ;;
*)
echo "Usage: S05avahi-setup.sh {start|stop}" >&2
exit 1
;;
esac