From a2eefbab4d1ba7bc2aa1779fa8f83616c3c9a209 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 21 Nov 2010 03:03:55 +0000 Subject: applications: add radvd frontend --- applications/luci-radvd/ipkg/postinst | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 applications/luci-radvd/ipkg/postinst (limited to 'applications/luci-radvd/ipkg') diff --git a/applications/luci-radvd/ipkg/postinst b/applications/luci-radvd/ipkg/postinst new file mode 100644 index 000000000..88aaf8330 --- /dev/null +++ b/applications/luci-radvd/ipkg/postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-radvd ) && rm -f /etc/uci-defaults/luci-radvd + /etc/init.d/radvd enabled || /etc/init.d/radvd enable + exit 0 +} -- cgit v1.2.3