Browse Source

Smallish consistency fixes in rc scripts

rocket-config
mid-kid 7 years ago
parent
commit
2e59ee1f0a
  1. 4
      root/etc/rc.d/rc.dhcpcd
  2. 2
      root/etc/rc.d/rc.psd

4
root/etc/rc.d/rc.dhcpcd

@ -8,16 +8,18 @@
IFACES="" IFACES=""
if [ -f /etc/default/dhcpcd ]; then if [ -f /etc/default/dhcpcd ]; then
. /etc/default/dhcpcd . /etc/default/dhcpcd
fi fi
case "$1" in case "$1" in
'start') 'start')
shift shift
echo "Starting dhcpcd..."
dhcpcd -b ${@:-$IFACES} dhcpcd -b ${@:-$IFACES}
;; ;;
'stop') 'stop')
shift shift
echo "Stopping dhcpcd..."
dhcpcd -k ${@:-$IFACES} dhcpcd -k ${@:-$IFACES}
;; ;;
*) *)

2
root/etc/rc.d/rc.psd

@ -11,7 +11,7 @@
USERS="" USERS=""
USERS_CACHE="/run/psd-users.cache" USERS_CACHE="/run/psd-users.cache"
if [ -f /etc/default/psd ]; then if [ -f /etc/default/psd ]; then
. /etc/default/psd . /etc/default/psd
fi fi
scan_users() { scan_users() {

Loading…
Cancel
Save