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:
parent
15782fb647
commit
914285037a
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue