diff --git a/conf/etc/init.d/S02modules b/conf/etc/init.d/S02modules index 19c843f..a80439b 100755 --- a/conf/etc/init.d/S02modules +++ b/conf/etc/init.d/S02modules @@ -2,8 +2,10 @@ case "$1" in start) + printf "Loading kernel modules: " /sbin/modprobe qca6174 /sbin/modprobe wireguard + [ $? = 0 ] && echo "OK" || echo "FAIL" ;; *) echo "Usage: $0 {start}" diff --git a/conf/etc/init.d/S22waitrng b/conf/etc/init.d/S22waitrng index 36cc13f..1cd74a8 100755 --- a/conf/etc/init.d/S22waitrng +++ b/conf/etc/init.d/S22waitrng @@ -3,7 +3,7 @@ case "$1" in start) status=`cat /proc/sys/kernel/random/entropy_avail` - echo "Waiting for enough entropy: " + printf "Waiting for enough entropy: " while [ $status -lt 200 ]; do sleep 2 status=`cat /proc/sys/kernel/random/entropy_avail` diff --git a/conf/etc/init.d/S23cfgbin b/conf/etc/init.d/S23cfgbin index e50d3f4..c8c8805 100755 --- a/conf/etc/init.d/S23cfgbin +++ b/conf/etc/init.d/S23cfgbin @@ -11,6 +11,7 @@ case "$1" in WPA=`cat /etc/wpa` sed -i "s/{{SSID}}/$SSID/g" /etc/hostapd.conf sed -i "s/{{WPA}}/$WPA/g" /etc/hostapd.conf + echo "OK" ;; *) echo "Usage: $0 {start}"