* Removed support for Haserl

This commit is contained in:
Steven Barth
2008-06-15 18:54:44 +00:00
parent d5d8e8c867
commit 6fa9ec035b
12 changed files with 11 additions and 171 deletions

11
libs/sgi-cgi/ipkg/postinst Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
[ -f "${IPKG_INSTROOT}/etc/httpd.conf" ] && {
PATTERNS='/cgi-bin/luci/admin:root:$p$root'
for i in $PATTERNS
do
grep "$i" ${IPKG_INSTROOT}/etc/httpd.conf >/dev/null 2>/dev/null || echo "$i" >> ${IPKG_INSTROOT}/etc/httpd.conf
done
[ -n "${IPKG_INSTROOT}" ] || /etc/init.d/httpd restart
}