From 2e59ee1f0a46453b29bb9a66615898e895544e6a Mon Sep 17 00:00:00 2001 From: mid-kid Date: Thu, 1 Feb 2018 23:45:42 +0100 Subject: [PATCH] Smallish consistency fixes in rc scripts --- root/etc/rc.d/rc.dhcpcd | 4 +++- root/etc/rc.d/rc.psd | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/root/etc/rc.d/rc.dhcpcd b/root/etc/rc.d/rc.dhcpcd index bb67757..93f6232 100644 --- a/root/etc/rc.d/rc.dhcpcd +++ b/root/etc/rc.d/rc.dhcpcd @@ -8,16 +8,18 @@ IFACES="" if [ -f /etc/default/dhcpcd ]; then - . /etc/default/dhcpcd + . /etc/default/dhcpcd fi case "$1" in 'start') shift + echo "Starting dhcpcd..." dhcpcd -b ${@:-$IFACES} ;; 'stop') shift + echo "Stopping dhcpcd..." dhcpcd -k ${@:-$IFACES} ;; *) diff --git a/root/etc/rc.d/rc.psd b/root/etc/rc.d/rc.psd index f051477..8a52617 100644 --- a/root/etc/rc.d/rc.psd +++ b/root/etc/rc.d/rc.psd @@ -11,7 +11,7 @@ USERS="" USERS_CACHE="/run/psd-users.cache" if [ -f /etc/default/psd ]; then - . /etc/default/psd + . /etc/default/psd fi scan_users() {