Commit 0f551f09 authored by Franco Fichtner's avatar Franco Fichtner

config: funny, like previous

parent b306aaae
...@@ -29,8 +29,7 @@ ...@@ -29,8 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
global $g; /* XXX make this a getter function for traceability */ /* XXX make this a getter function for traceability */
$g = json_decode(file_get_contents('/usr/local/opnsense/firmware-product'), true); $g = json_decode(file_get_contents('/usr/local/opnsense/firmware-product'), true);
openlog($g['product_id'], LOG_ODELAY, LOG_USER); openlog($g['product_id'], LOG_ODELAY, LOG_USER);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment