From 3ed15b1abb78b5e08d2b72a3d9f144654202e13e Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 18 Jul 2018 13:08:25 +0200 Subject: [PATCH] rc: tweak previous * Align to max. 80 characters, squeezed to 4 lines * Only use product name once * Use proper branding name --- src/etc/rc.subr.d/livemode | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/etc/rc.subr.d/livemode b/src/etc/rc.subr.d/livemode index 0eee17ec7..31d9b9a4a 100755 --- a/src/etc/rc.subr.d/livemode +++ b/src/etc/rc.subr.d/livemode @@ -58,9 +58,13 @@ if (is_install_media()) { echo "\n"; - $greeting = "Welcome! OPNsense is running in live mode from install media.\n" . - "Please login as 'root' to continue in live mode, or as 'installer' to install OPNsense.\n" . - "Use the default or previously-imported root password for both accounts."; + /* tailored for OPNsense to occupy same width below */ + $namex = $g['product_name']; + + $greeting = "Welcome! {$namex} is running in live mode from install media. Please\n" . + "login as 'root' to continue in live mode, or as 'installer' to start the\n" . + "installation. Use the default or previously-imported root password for\n" . + "both accounts."; if (!isset($config['system']['ssh']['noauto']) && is_process_running('sshd')) { $greeting .= " Remote login via SSH is also enabled.";