diff options
author | doktornotor <notordoktor@gmail.com> | 2016-07-08 18:22:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-08 18:22:06 +0200 |
commit | 25ff3fc95b2392d911ac527399655f8174d7973e (patch) | |
tree | efa07f084b438a712a44173c8b64b6fa228421af | |
parent | 7d383978beae01ce01c19c02549a308be77a910a (diff) | |
download | pfsense-25ff3fc95b2392d911ac527399655f8174d7973e.zip pfsense-25ff3fc95b2392d911ac527399655f8174d7973e.tar.gz |
Create /var/run/dmesg.boot symlink for vm-bhyve (Feature #6573)
See https://redmine.pfsense.org/issues/6573
-rw-r--r-- | src/etc/inc/system.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc index ffdfa5b..cb7756e 100644 --- a/src/etc/inc/system.inc +++ b/src/etc/inc/system.inc @@ -1993,6 +1993,9 @@ function system_dmesg_save() { fclose($fd); unset($dmesg); + + // vm-bhyve expects dmesg.boot at the standard location + @symlink("{$g['varlog_path']}/dmesg.boot", "{$g['varrun_path']}/dmesg.boot); return 0; } |