Sign in
gfiber
/
buildroot
/
bd747b77b7702a2827635044e8f6648f167004ee
/
.
/
package
/
avahi
/
S05avahi-setup.sh
blob: 002f0c8925f1a241372f84cd51339c7820f7f6a6 [
file
] [
log
] [
blame
]
#!/bin/sh
case
"$1"
in
start
|
""
)
if
[
!
-
d
/
tmp
/
avahi
-
autopid
];
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