projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* luci: fix postinstall scripts
[project/luci.git]
/
contrib
/
package
/
olsrd-luci
/
ipkg
/
postinst
diff --git
a/contrib/package/olsrd-luci/ipkg/postinst
b/contrib/package/olsrd-luci/ipkg/postinst
index
71986fe
..
288d7e4
100755
(executable)
--- a/
contrib/package/olsrd-luci/ipkg/postinst
+++ b/
contrib/package/olsrd-luci/ipkg/postinst
@@
-1,3
+1,5
@@
#!/bin/sh
-/etc/init.d/olsrd enable
+[ -n "${IPKG_INSTROOT}" ] || {
+ /etc/init.d/olsrd enable
+}