This commit is contained in:
Jack L. Frost 2015-01-17 16:37:15 +03:00
parent 782b0a3fe8
commit a607a63107

4
rc.in
View File

@ -20,7 +20,7 @@ rc.rescue() { exec "${cfg_rc_rescue_shell:-"$SHELL"}"; }
rc.motd() { rc.motd() {
[[ -f "/etc/rc.motd" ]] && { [[ -f "/etc/rc.motd" ]] && {
while read; do while read; do
printf "$REPLY\n" printf "%s\n" "$REPLY"
done < "/etc/rc.motd" done < "/etc/rc.motd"
} }
@ -166,7 +166,7 @@ rc.main() {
case "$action" in case "$action" in
boot) boot)
echo "Welcome to `uname -rs`" echo "Welcome to $(uname -rs)"
rc.boot rc.boot
;; ;;