The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / avahi / S05avahi-setup.sh
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/avahi/S05avahi-setup.sh b/cirros-testvm/src-cirros/buildroot-2015.05/package/avahi/S05avahi-setup.sh
new file mode 100755 (executable)
index 0000000..90ccbce
--- /dev/null
@@ -0,0 +1,16 @@
+#!/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