* Mördercommit ;-)
[project/luci.git] / contrib / package / ffluci / ipkg / ffluci-sgi-haserl.postinst
1 #!/bin/sh
2 PATTERNS='/cgi-bin/ffluci/admin:root:$p$root /cgi-bin/ffluci-upload:root:$p$root'
3
4 for i in $PATTERNS
5 do
6 grep "$i" ${IPKG_INSTROOT}/etc/httpd.conf >/dev/null 2>/dev/null || echo "$i" >> ${IPKG_INSTROOT}/etc/httpd.conf
7 done
8
9 [ -n ${IPKG_INSTROOT} ] || /etc/init.d/httpd restart