package/opencv: fix build failure on x86
[buildroot-gz.git] / package / avahi / S05avahi-setup.sh
blob90ccbceacc067975cf0f0e667682d379d78d4537
1 #!/bin/sh
3 case "$1" in
4 start|"")
5 if [ ! -d /tmp/avahi-autoipd ]; then
6 rm -rf /tmp/avahi-autoipd
7 mkdir /tmp/avahi-autoipd
8 chown avahi.avahi /tmp/avahi-autoipd
9 fi
11 stop) ;;
13 echo "Usage: S05avahi-setup.sh {start|stop}" >&2
14 exit 1
16 esac