#!/bin/sh
[ -n "$IPKG_INSTROOT" ] || IPKG_INSTROOT=""
chmod 0755 "$IPKG_INSTROOT/usr/libexec/lan-scanner" 2>/dev/null || true
if [ -z "$IPKG_INSTROOT" ]; then
	rm -f /tmp/luci-indexcache 2>/dev/null || true
	rm -rf /tmp/luci-modulecache 2>/dev/null || true
fi
exit 0
