* Fix sgi-cgi postinst

This commit is contained in:
Steven Barth 2008-06-15 20:10:20 +00:00
parent 72aa111b22
commit 8d2f6c7041

View file

@ -1,5 +1,4 @@
#!/bin/sh
[ -f "${IPKG_INSTROOT}/etc/httpd.conf" ] && {
PATTERNS='/cgi-bin/luci/admin:root:$p$root'
for i in $PATTERNS
@ -8,4 +7,4 @@
done
[ -n "${IPKG_INSTROOT}" ] || /etc/init.d/httpd restart
}