astro style + TW link

This commit is contained in:
fred 2023-03-10 01:39:11 +01:00
parent 5f0aee0456
commit 4709b552bc
1 changed files with 5 additions and 6 deletions

View File

@ -89,10 +89,6 @@ else
fi
[[ $XDG_SESSION_TYPE == 'x11' ]] && xdg-open "$ZFILE"
echo "$ZFILE" ### LAST LINE : INFORM DAEMON
###########################################################################
## ASTRO : FIND TW ADDRESS + EMAIL = CREATE PLAYER on 1234 API
@ -111,14 +107,17 @@ echo "$ZFILE" ### LAST LINE : INFORM DAEMON
&& echo curl -s 'https://astroport.copylaradio.com/?salt='$UN'&pepper='$DE'&g1pub=on&email='$EMAIL \
&& curl -s 'https://astroport.copylaradio.com/?salt='$UN'&pepper='$DE'&g1pub=on&email='$EMAIL
echo "WELCOME ASTRONAUT $EMAIL"
fi
###########################################################################
[[ $XDG_SESSION_TYPE == 'x11' ]] && xdg-open "$ZFILE"
echo "$ZFILE" ### LAST LINE : INFORM DAEMON
else
################################################################################
################################################################################
################################################################################
## MAKE IT A NETWORK MICRO SERVICE -- PORTS : INPUT=33101 OUTPUT=33102
############## CLEAN START DAEMON MODE ###
pidportinuse=$(ps axf --sort=+utime | grep -w "nc -l -p 33101" | grep -v -E 'color=auto|grep' | awk '{gsub(/^ +| +$/,"")} {print $0}' | tail -n 1 | cut -d " " -f 1)