--- elwix/config/etc/default/rc.init 2017/10/08 09:54:58 1.6.2.5 +++ elwix/config/etc/default/rc.init 2021/03/11 13:59:50 1.7 @@ -2,7 +2,7 @@ # # Boot startup script for elwix :) # -# $Id: rc.init,v 1.6.2.5 2017/10/08 09:54:58 misho Exp $ +# $Id: rc.init,v 1.7 2021/03/11 13:59:50 misho Exp $ stty status '^T' @@ -61,7 +61,7 @@ passwd() local() { echo "Configurate localhost ..." | tee -a $BOOTLOG - ifconfig lo0 127.0.0.1 | tee -a $BOOTLOG 1>/dev/null 2>&1 + ifconfig lo0 inet 127.0.0.1 netmask 255.0.0.0 | tee -a $BOOTLOG 1>/dev/null 2>&1 hostname `cat /etc/myname` } @@ -147,7 +147,7 @@ service() { echo "Starting distribution static services:" | tee -a $BOOTLOG for i in /etc/rc.d/*.run; do - if [ -x $i ]; then + if [ -x "$i" ]; then $i fi done @@ -157,7 +157,7 @@ service() echo "Starting distribution services:" | tee -a $BOOTLOG for i in /etc/rc.S/*.run; do - if [ -x $i ]; then + if [ -x "$i" ]; then $i fi done