mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-21 11:13:42 +08:00
17 lines
278 B
Bash
Executable File
17 lines
278 B
Bash
Executable File
#!/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
|