![Matt Weber](/assets/img/avatar_default.png)
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
17 lines
274 B
Bash
17 lines
274 B
Bash
#!/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
|