log messages tweaks
This commit is contained in:
parent
e85ef08be2
commit
ab94ea6f31
Binary file not shown.
|
@ -60,18 +60,18 @@ rc-service seedrng start
|
||||||
|
|
||||||
## Setup Network interfaces
|
## Setup Network interfaces
|
||||||
if [ -f "${ovlpath}/wpa_supplicant.conf" ]; then
|
if [ -f "${ovlpath}/wpa_supplicant.conf" ]; then
|
||||||
logger -st ${0##*/} "Wifi setup found !"
|
logger -st ${0##*/} "Configuring wifi..."
|
||||||
_apk add wpa_supplicant
|
_apk add wpa_supplicant
|
||||||
_preserve "/etc/wpa_supplicant/wpa_supplicant.conf"
|
_preserve "/etc/wpa_supplicant/wpa_supplicant.conf"
|
||||||
install -m600 "${ovlpath}/wpa_supplicant.conf" /etc/wpa_supplicant/wpa_supplicant.conf
|
install -m600 "${ovlpath}/wpa_supplicant.conf" /etc/wpa_supplicant/wpa_supplicant.conf
|
||||||
else
|
else
|
||||||
logger -st ${0##*/} "Wifi setup not found !"
|
logger -st ${0##*/} "No wifi setup supplied !"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_preserve "/etc/network/interfaces"
|
_preserve "/etc/network/interfaces"
|
||||||
if ! install -m644 "${ovlpath}/interfaces" /etc/network/interfaces; then
|
if ! install -m644 "${ovlpath}/interfaces" /etc/network/interfaces; then
|
||||||
# set default interfaces if not specified by interface file on boot storage
|
# set default interfaces if not specified by interface file on boot storage
|
||||||
logger -st ${0##*/} "No interfaces file supplied, building default interfaces..."
|
logger -st ${0##*/} "No interfaces file supplied, building defaults..."
|
||||||
for dev in $(ls /sys/class/net)
|
for dev in $(ls /sys/class/net)
|
||||||
do
|
do
|
||||||
case ${dev%%[0-9]*} in
|
case ${dev%%[0-9]*} in
|
||||||
|
|
Loading…
Reference in New Issue