Mercurial > vanilla
changeset 694:2bac0c29807f
core/rc: improve messages and fix deletion
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 01 Aug 2019 21:20:00 +0200 |
parents | 32bb756ea9c9 |
children | 3eaeab150bc4 |
files | core/rc/rc.init |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/core/rc/rc.init Thu Aug 01 21:15:00 2019 +0200 +++ b/core/rc/rc.init Thu Aug 01 21:20:00 2019 +0200 @@ -30,7 +30,7 @@ hostname "$HOSTNAME" fi -echo "Setting kernel parameters" +echo "Setting kernel parameters." sysctl -p >/dev/null 2>&1 echo -n "Mounting filesystems: " @@ -55,10 +55,7 @@ echo -n "/run " fi -echo "done" - -# Clean pid files before starting any services. -find /var/run -type f -name "*.pid" -delete +echo "" # # Start a device service. Both eudev and busybox's mdev are supported but only @@ -95,6 +92,9 @@ mount -o remount,rw / swapon -a +# Clean pid files before starting any services. +find /var/run -type f -name "*.pid" -delete + # Update shared library caches. ldconfig @@ -103,7 +103,7 @@ if [ -f /share/zoneinfo/$TIMEZONE ]; then ln -sf /share/zoneinfo/$TIMEZONE /etc/localtime - echo "$TIMEZONE." + echo "$TIMEZONE" else echo "$TIMEZONE not found" fi