actions_firmware.conf 859 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

[local]
20
command:pkg query "%n|||%v|||%c|||%sh"
21 22 23 24 25
parameters:
type:script_output
message:view local packages

[remote]
26
command: pkg rquery "%n|||%v|||%c|||%sh"
27 28 29
parameters:
type:script_output
message:view remote packages
30 31 32 33 34 35 36 37 38 39 40 41

[mirror]
command:/usr/local/sbin/opnsense-update -sm
parameters:%s
type:script
message:switching firmware mirror to %s

[flavour]
command:/usr/local/sbin/opnsense-update -sn
parameters:%s
type:script
message:switching firmware flavour to %s