diff options
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index e0f3613..c1a77e4 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -949,9 +949,6 @@ function reload_all_sync() { function setup_serial_port($when="save", $path="") { global $g, $config; conf_mount_rw(); - $prefix = ""; - if (($when == "upgrade") && (!empty($path)) && is_dir($path.'/boot/')) - $prefix = "/tmp/{$path}"; $boot_config_file = "{$path}/boot.config"; $loader_conf_file = "{$path}/boot/loader.conf"; /* serial console - write out /boot.config */ |