add at + fixpkg

git-svn-id: file:///root/webif/svn/pkg/webif/trunk@2824 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg
2016-03-29 22:16:07 +00:00
parent 6bd6c33e70
commit 17f5cf5e7e
2 changed files with 10 additions and 2 deletions

View File

@@ -63,6 +63,14 @@ hook=/mod/boot/xinit.d/rt3070
[ -f record.log -a ! -f activity.log ] && mv record.log activity.log
)
if [ ! -f /mod/webif/.fixpkg ]; then
at now + 1 minute << EOM
diag fixpkg
/mod/etc/init.d/S01lighttpd start
touch /mod/webif/.fixpkg
EOM
fi
[ -f $tmpf ] && rm -f $tmpf
exit 0