mirror of https://git.openwrt.org/project/luci.git
5 lines
230 B
Plaintext
5 lines
230 B
Plaintext
![]() |
#!/bin/sh
|
||
|
PATTERN='/cgi-bin/ffluci/admin:root:$p$root'
|
||
|
grep $PATTERN ${IPKG_INSTROOT}/etc/httpd.conf >/dev/null 2>/dev/null || echo $PATTERN >> ${IPKG_INSTROOT}/etc/httpd.conf
|
||
|
[ -z ${IPKG_INSTROOT} ] && /etc/init.d/httpd restart
|