diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-21 03:03:55 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-21 03:03:55 +0000 |
commit | a2eefbab4d1ba7bc2aa1779fa8f83616c3c9a209 (patch) | |
tree | 1ee893a948c73911ac776c07b530e96eb83d16ed /applications/luci-radvd/ipkg/postinst | |
parent | f72aa0c4c8d9ef8a17e521a940c6fbb1f902ef26 (diff) |
applications: add radvd frontend
Diffstat (limited to 'applications/luci-radvd/ipkg/postinst')
-rw-r--r-- | applications/luci-radvd/ipkg/postinst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/applications/luci-radvd/ipkg/postinst b/applications/luci-radvd/ipkg/postinst new file mode 100644 index 0000000000..88aaf83308 --- /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 +} |