projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rework LuCI build system
[project/luci.git]
/
applications
/
luci-app-polipo
/
ipkg
/
postinst
diff --git a/applications/luci-app-polipo/ipkg/postinst
b/applications/luci-app-polipo/ipkg/postinst
new file mode 100755
(executable)
index 0000000..
0e23e2a
--- /dev/null
+++ b/
applications/luci-app-polipo/ipkg/postinst
@@ -0,0
+1,6
@@
+#!/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
+ exit 0
+}