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-polipo
/
ipkg
/
postinst
diff --git
a/applications/luci-polipo/ipkg/postinst
b/applications/luci-polipo/ipkg/postinst
index 16408879a18f171d791a3ecaa390df30ea3594e5..0b84b0daf4fa0d954cd137b24840862f1914e187 100755
(executable)
--- a/
applications/luci-polipo/ipkg/postinst
+++ b/
applications/luci-polipo/ipkg/postinst
@@
-1,4
+1,5
@@
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
( . /etc/uci-defaults/luci-polipo ) && rm -f /etc/uci-defaults/luci-polipo
+ /etc/init.d/polipo enabled || /etc/init.d/polipo enable
}