actions_firmware.conf 607 Bytes
Newer Older
1 2 3 4 5 6 7 8
[pkgstatus]
command:/usr/local/opnsense/scripts/pkg_updatecheck.sh
parameters:
type:script_output
message:retrieve package status

[upgrade]
command: /usr/sbin/daemon -f /usr/local/opnsense/scripts/pkg_upgrade.sh
9
parameters:%s
10
type:script
11 12
message:perform upgrade %s

13 14 15 16 17
[upgrade_status]
command:cat /tmp/pkg_upgrade.progress 2>&1
parameters:
type:script_output
message:retrieve upgrade progress status
18 19 20 21 22 23 24 25 26 27 28 29

[local]
command:pkg info --raw --raw-format json --all
parameters:
type:script_output
message:view local packages

[remote]
command: pkg rquery %n
parameters:
type:script_output
message:view remote packages