kumquat-buildroot/package/avahi/S05avahi-setup.sh
Peter Korsgaard 0576f4cd5b avahi: fixup init scripts after default user removal
Commit d3ccfa362b (avahi: run as avahi user/group instead of default)
changed avahi-autoipd to run as the avahi user, but forgot to update the
init script/systemd config to match.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-06-23 11:38:17 +02:00

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