oui
This commit is contained in:
parent
e646c91443
commit
42801f6525
2
12345.sh
2
12345.sh
|
@ -109,7 +109,7 @@ while true; do
|
|||
############################################################################
|
||||
## SERVE LANDING REDIRECT PAGE ~/.zen/tmp/coucou/${MOATS}.myHOST.http on PORT 1234 (LOOP BLOCKING POINT)
|
||||
############################################################################
|
||||
REQ=$(cat $HOME/.zen/tmp/coucou/${MOATS}.myHOST.http | nc -l -p 1234 -q 1) ## # WAIT FOR 1234 PORT CONTACT
|
||||
REQ=$(cat $HOME/.zen/tmp/coucou/${MOATS}.myHOST.http | nc -l -p 1234 -q 1 && rm $HOME/.zen/tmp/coucou/${MOATS}.myHOST.http) ## # WAIT FOR 1234 PORT CONTACT
|
||||
|
||||
URL=$(echo "$REQ" | grep '^GET' | cut -d ' ' -f2 | cut -d '?' -f2)
|
||||
HOSTP=$(echo "$REQ" | grep '^Host:' | cut -d ' ' -f2 | cut -d '?' -f2)
|
||||
|
|
|
@ -42,7 +42,7 @@ if [[ ! -d $img_dir ]]; then
|
|||
## WRITE ON IT : ASK FOR REFILL
|
||||
convert -font 'Liberation-Sans' \
|
||||
-pointsize 80 -fill purple -draw 'text 50,120 "'"$COINS Ğ1"'"' \
|
||||
-pointsize 30 -fill purple -draw 'text 70, 190 "'"$PLAYER"'"' \
|
||||
-pointsize 30 -fill purple -draw 'text 40, 180 "'"$PLAYER"'"' \
|
||||
"${HOME}/.zen/tmp/one.png" "${HOME}/.zen/tmp/carousel/${pub}.png" \
|
||||
&& rm ${HOME}/.zen/tmp/carousel/${pub}.one.png
|
||||
|
||||
|
|
|
@ -179,7 +179,7 @@ a {
|
|||
</script>
|
||||
<div id="ainfo"></div>
|
||||
<div id="yellow" >Menu
|
||||
<iframe id="aframe" src="_STATION_" width="100%" height="260px"></iframe>
|
||||
<iframe id="aframe" src="_STATION_" width="100%" height="280px"></iframe>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
|
Loading…
Reference in New Issue