forked from hummypkg/webif
more package management tweaks
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1781 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
@@ -6,16 +6,18 @@ source /mod/webif/lib/setup
|
||||
require cat
|
||||
|
||||
puts "
|
||||
<div id=sysnotify class=warningbox><center>
|
||||
<div id=sysnotify class=warningbox style=\"width: 90%\"><center>
|
||||
!! WARNING !!
|
||||
<br><br>
|
||||
You have pending system notifications:
|
||||
<br><br>
|
||||
</center>
|
||||
<pre>
|
||||
"
|
||||
cat /mod/tmp/notify.log
|
||||
puts {
|
||||
</pre>
|
||||
<center>
|
||||
<button id=sysnotify_ack>Acknowledge</button>
|
||||
</center></div>
|
||||
<script type=text/javascript>
|
||||
|
||||
@@ -169,3 +169,11 @@ proc {pkg fetchdiagmeta} {} {
|
||||
$ff close
|
||||
}
|
||||
|
||||
proc {pkg update} {} {
|
||||
exec /bin/opkg update
|
||||
}
|
||||
|
||||
proc {pkg upgrade} {nm} {
|
||||
exec /bin/opkg upgrade $nm
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user