mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
5 lines
230 B
Bash
Executable File
5 lines
230 B
Bash
Executable File
#!/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
|