mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
move iiab-internet-on|off - introduce netwarn
This commit is contained in:
parent
3e563f858d
commit
52989599dd
3 changed files with 28 additions and 11 deletions
8
scripts/netwarn.sh
Normal file
8
scripts/netwarn.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
if ! [ -f /etc/iiab/install-flags/iiab-network-complete ]; then
|
||||
zenity --question --text="You need to provision the network. Ensure you have your upstream internet active first if needed. You will be prompted for your password. You should REBOOT afterwards, do you want to Proceed?"
|
||||
rc=$?
|
||||
if [ $rc == "1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
x-terminal-emulator -e /usr/local/bin/iiab-network
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue