projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
applications: enable related init scripts on opkg install, otherwise users would...
[project/luci.git]
/
applications
/
luci-olsr
/
ipkg
/
postinst
diff --git
a/applications/luci-olsr/ipkg/postinst
b/applications/luci-olsr/ipkg/postinst
index d2a77744a6b19d7404fc393b8747aa838d9c25f7..77e13dc36771d05b0e2b6c865b858be50d88edb1 100755
(executable)
--- a/
applications/luci-olsr/ipkg/postinst
+++ b/
applications/luci-olsr/ipkg/postinst
@@
-1,4
+1,5
@@
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
( . /etc/uci-defaults/luci-olsr ) && rm -f /etc/uci-defaults/luci-olsr
+ /etc/init.d/olsrd enabled || /etc/init.d/olsrd enable
}