[no ci] Overlay: add wireless setup script for builder (#1360)

pull/1361/head
viktorxda 2024-03-25 19:04:22 +01:00 committed by GitHub
parent 8a13ff0a57
commit 14baad1f78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 7 deletions

View File

@ -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
;;
*)

View File

@ -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