projects
/
project
/
luci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Entering Version 0.2
[project/luci.git]
/
contrib
/
package
/
ffluci
/
ipkg
/
ffluci.postinst
1
#!/bin/sh
2
PATTERN='/cgi-bin/ffluci/admin:root:$p$root'
3
grep $PATTERN ${IPKG_INSTROOT}/etc/httpd.conf >/dev/null 2>/dev/null || echo $PATTERN >> ${IPKG_INSTROOT}/etc/httpd.conf
4
[ -n ${IPKG_INSTROOT} ] || /etc/init.d/httpd restart