Commit c2d2fe4b authored by Franco Fichtner's avatar Franco Fichtner

rc: shuffle newlines around a wee bit too (#32)

parent 478d738e
...@@ -386,8 +386,6 @@ fi ...@@ -386,8 +386,6 @@ fi
# Reset the cache. read-only requires this. # Reset the cache. read-only requires this.
/bin/rm -f /tmp/config.cache /bin/rm -f /tmp/config.cache
echo
/usr/local/etc/rc.initial.banner /usr/local/etc/rc.initial.banner
exit 0 exit 0
...@@ -23,11 +23,11 @@ if [ -n "${*}" ]; then ...@@ -23,11 +23,11 @@ if [ -n "${*}" ]; then
exit ${?} exit ${?}
fi fi
echo
# endless loop # endless loop
while : ; do while : ; do
echo
# If we are on the install media advertise that fact # If we are on the install media advertise that fact
if _tmpdir=$(mktemp -d -q /.diskless.XXXXXX); then if _tmpdir=$(mktemp -d -q /.diskless.XXXXXX); then
rmdir ${_tmpdir} rmdir ${_tmpdir}
......
...@@ -38,7 +38,7 @@ $hostname = $config['system']['hostname']; ...@@ -38,7 +38,7 @@ $hostname = $config['system']['hostname'];
$product = $g['product_name']; $product = $g['product_name'];
$machine = trim(`uname -m`); $machine = trim(`uname -m`);
print "*** Welcome to {$product} {$version} ({$machine}) on {$hostname} ***\n"; print "\n*** Welcome to {$product} {$version} ({$machine}) on {$hostname} ***\n";
$iflist = get_configured_interface_with_descr(false, true); $iflist = get_configured_interface_with_descr(false, true);
foreach($iflist as $ifname => $friendly) { foreach($iflist as $ifname => $friendly) {
......
...@@ -39,18 +39,19 @@ case ${YN} in ...@@ -39,18 +39,19 @@ case ${YN} in
;; ;;
esac esac
trap : 2 echo
trap : 3
# upgrade all packages if possible # upgrade all packages if possible
pkg upgrade -y pkg upgrade -y
echo
# refresh the php.ini files now rather than later # refresh the php.ini files now rather than later
/usr/local/etc/rc.php_ini_setup /usr/local/etc/rc.php_ini_setup
echo
# if we can update base, we'll do that as well # if we can update base, we'll do that as well
if opnsense-update -c; then if opnsense-update -c; then
opnsense-update && reboot opnsense-update && /usr/local/etc/rc.reboot
fi fi
echo
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