#!/bin/sh
if [ -z "${IPKG_INSTROOT}" ]; then
	rm -f /www/js/glinjector-*
	cp -f /rom/www/gl_home.html /www/
	cp -f /rom/etc/nginx/conf.d/gl.conf /etc/nginx/conf.d/
	nginx -s reload 2> /dev/null
fi
exit 0
