mirror of https://github.com/OpenIPC/firmware.git
[no ci] Overlay: add wireless setup script for builder (#1360)
parent
8a13ff0a57
commit
14baad1f78
|
@ -2,7 +2,17 @@
|
|||
|
||||
case "$1" in
|
||||
start)
|
||||
system_fb
|
||||
if [ ! -e /etc/system.ok ] && [ -e /usr/share/openipc/customizer.sh ]; then
|
||||
echo "Run customizer script..."
|
||||
sh /usr/share/openipc/customizer.sh
|
||||
touch /etc/system.ok
|
||||
fi
|
||||
|
||||
if [ ! -e /etc/network.ok ] && [ -e /usr/share/openipc/wireless.sh ]; then
|
||||
echo "Run wireless script..."
|
||||
sh /usr/share/openipc/wireless.sh
|
||||
touch /etc/network.ok
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
|
@ -39,12 +39,6 @@ case "${CMD}" in
|
|||
fi
|
||||
;;
|
||||
|
||||
system_fb)
|
||||
if ! [ -f /etc/system.ok ]; then
|
||||
[ -f /usr/share/openipc/customizer.sh ] && echo "Run customizer script..." && sh /usr/share/openipc/customizer.sh && touch /etc/system.ok || echo "Customizer script not present..."
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue