forked from hummypkg/webif
only use "at" if installed
This commit is contained in:
parent
87ff52dd03
commit
0da04b5aed
@ -12,8 +12,8 @@ if [ -h /mod/webif -a -d /mod/var/mongoose -a ! -h /mod/var/mongoose ]; then
|
|||||||
ln -s ../webif mongoose
|
ln -s ../webif mongoose
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f /mod/webif/.pfixpkg ]; then
|
if [ ! -f /mod/webif/.pfixpkg -a -x /mod/bin/at ]; then
|
||||||
at now + 1 minute << EOM
|
/mod/bin/at now + 1 minute << EOM
|
||||||
diag fixpkg
|
diag fixpkg
|
||||||
touch /mod/webif/.pfixpkg
|
touch /mod/webif/.pfixpkg
|
||||||
EOM
|
EOM
|
||||||
|
Loading…
Reference in New Issue
Block a user