shutdown
This commit is contained in:
parent
ea1fd0a09d
commit
1623b9a892
|
@ -15,6 +15,7 @@ G1PUB=$(cat ~/.zen/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2) && [[ ! $G1PU
|
||||||
IPFSNODEID=$(ipfs --timeout=20s id -f='<id>\n' 2>/dev/null) && [[ $IPFSNODEID == "" ]] && echo 'NO IPFS RUNNING. EXIT' && exit 1
|
IPFSNODEID=$(ipfs --timeout=20s id -f='<id>\n' 2>/dev/null) && [[ $IPFSNODEID == "" ]] && echo 'NO IPFS RUNNING. EXIT' && exit 1
|
||||||
[ ! -d ~/.zen/ipfs/.$IPFSNODEID/astroport ] && echo 'ASTROPORT NOT READY' && exit 1
|
[ ! -d ~/.zen/ipfs/.$IPFSNODEID/astroport ] && echo 'ASTROPORT NOT READY' && exit 1
|
||||||
|
|
||||||
|
exit 0
|
||||||
## INSTALL MISSING PACKAGES
|
## INSTALL MISSING PACKAGES
|
||||||
if [[ -f /etc/sudoers.d/apt ]]; then
|
if [[ -f /etc/sudoers.d/apt ]]; then
|
||||||
for i in chromium nmap httrack imagemagick; do
|
for i in chromium nmap httrack imagemagick; do
|
||||||
|
|
Loading…
Reference in New Issue