1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

/usr/local/sbin/netwarn: Test-during-boot reminder #3318

This commit is contained in:
A Holt 2022-07-27 12:55:20 -04:00 committed by GitHub
parent 15782fb647
commit 914285037a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,15 @@
#!/bin/bash
# CONFUSING BUT FYI: Commands below run *strictly sequentially* when this
# script (/usr/local/sbin/netwarn) is invoked by autostart during OS boot.
# This allows return codes to be meaningful, at each successive step.
# (As of July 2022, this is tested to work well with Ubuntu Mate and RasPiOS
# on Raspberry Pi 4!)
#
# IN CONTRAST: return codes below are NOT MEANINGFUL when this script is
# invoked from a regularly graphical desktop session -- so make sure to test
# during an actual OS boot-up, with autostart!
if [ -f /etc/iiab/install-flags/iiab-network-complete ]; then
exit
fi