summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.bootup
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/rc.bootup')
-rwxr-xr-xsrc/etc/rc.bootup4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/rc.bootup b/src/etc/rc.bootup
index e4a3a20..1bbed09 100755
--- a/src/etc/rc.bootup
+++ b/src/etc/rc.bootup
@@ -113,7 +113,7 @@ echo "done.\n";
if (mwexec("/bin/kenv -q pfSense.boot 2>/dev/null") != 0) {
/* Collect vendor MAC address for all interfaces */
$ifs = pfSense_interface_listget();
- unlink_if_exists("{$g['cf_conf_path']}/vendor_mac_*");
+ unlink_if_exists("{$g['vardb_path']}/vendor_mac_*");
foreach ($ifs as $if) {
$if_details = pfSense_get_interface_addresses($if);
if (isset($if_details['iftype']) &&
@@ -126,7 +126,7 @@ if (mwexec("/bin/kenv -q pfSense.boot 2>/dev/null") != 0) {
continue;
}
- @file_put_contents("{$g['cf_conf_path']}/vendor_mac_{$if}",
+ @file_put_contents("{$g['vardb_path']}/vendor_mac_{$if}",
$if_details['macaddr']);
}
unset($ifs, $if);
OpenPOWER on IntegriCloud