Code Update

This commit is contained in:
Christer Warén 2024-06-30 17:19:43 +03:00
parent 3488bb794d
commit 04699cccce
3 changed files with 10 additions and 10 deletions

10
init.sh
View File

@ -301,10 +301,7 @@ wi-restricted(){
} }
wi-start(){ wi-start(){
wi-header "Warén Group" h1 wi-header "Warén Init" h1
apt update &> /dev/null
apt install -y jq &> /dev/null
} }
wi-stop (){ wi-stop (){
@ -319,6 +316,9 @@ wi-stop (){
wi-restricted "$0 $1 $2" wi-restricted "$0 $1 $2"
wi-start
apt update &> /dev/null
apt install -y jq &> /dev/null
wi-init $1 $2 wi-init $1 $2
wi-stop wi-stop

View File

@ -19,6 +19,9 @@ wiNormal=$(tput sgr0)
{{ CODES }} {{ CODES }}
wi-restricted "$0 $1 $2" wi-restricted "$0 $1 $2"
wi-start
apt update &> /dev/null
apt install -y jq &> /dev/null
wi-init $1 $2 wi-init $1 $2
wi-stop wi-stop

View File

@ -1,6 +1,3 @@
wi-start(){ wi-start(){
wi-header "Warén Group" h1 wi-header "Warén Init" h1
apt update &> /dev/null
apt install -y jq &> /dev/null
} }