#!/bin/sh
# 初始化任务
[ -n "" ] || {
	rm -f /tmp/luci-indexcache.*
	rm -rf /tmp/luci-modulecache/

	killall -HUP rpcd 2>/dev/null

	/usr/share/natpierce/update.sh && /usr/share/natpierce/upgrade.sh

	exit 0
}
