diff --git a/+POST_INSTALL b/+POST_INSTALL index a5aafa85a..6a42d2914 100644 --- a/+POST_INSTALL +++ b/+POST_INSTALL @@ -31,6 +31,10 @@ EOF cat /etc/rc.shutdown.bak >> /etc/rc.shutdown rm -f /etc/rc.shutdown.bak +# XXX 18.7 compat for now +echo "%%CORE_NAME%%" > /usr/local/opnsense/version/opnsense.name +echo "%%CORE_ABI%%" > /usr/local/opnsense/version/opnsense.abi + /usr/local/etc/rc.d/configd start /usr/local/etc/rc.configure_firmware diff --git a/src/opnsense/service/conf/actions.d/actions_firmware.conf b/src/opnsense/service/conf/actions.d/actions_firmware.conf index 3d1252b3f..6521201c6 100644 --- a/src/opnsense/service/conf/actions.d/actions_firmware.conf +++ b/src/opnsense/service/conf/actions.d/actions_firmware.conf @@ -36,7 +36,7 @@ type:script_output message:Viewing license for %s [type.name] -command:opnsense-update -Tp +command:opnsense-version -n parameters: type:script_output message:Probing release type name