mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 14:54:36 +04: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
|