Code Update
This commit is contained in:
parent
04699cccce
commit
0ca9ad28dc
3
init.sh
3
init.sh
@ -317,8 +317,11 @@ wi-stop (){
|
|||||||
|
|
||||||
wi-restricted "$0 $1 $2"
|
wi-restricted "$0 $1 $2"
|
||||||
|
|
||||||
|
if [[ ! -f /bin/jq ]]
|
||||||
|
then
|
||||||
apt update &> /dev/null
|
apt update &> /dev/null
|
||||||
apt install -y jq &> /dev/null
|
apt install -y jq &> /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
wi-init $1 $2
|
wi-init $1 $2
|
||||||
wi-stop
|
wi-stop
|
||||||
|
@ -20,8 +20,11 @@ wiNormal=$(tput sgr0)
|
|||||||
|
|
||||||
wi-restricted "$0 $1 $2"
|
wi-restricted "$0 $1 $2"
|
||||||
|
|
||||||
|
if [[ ! -f /bin/jq ]]
|
||||||
|
then
|
||||||
apt update &> /dev/null
|
apt update &> /dev/null
|
||||||
apt install -y jq &> /dev/null
|
apt install -y jq &> /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
wi-init $1 $2
|
wi-init $1 $2
|
||||||
wi-stop
|
wi-stop
|
||||||
|
Loading…
Reference in New Issue
Block a user