diff --git a/.install/templates/4a/daemon.php b/.install/templates/4a/daemon.php index 6416330..150b3e2 100755 --- a/.install/templates/4a/daemon.php +++ b/.install/templates/4a/daemon.php @@ -3,7 +3,7 @@ if(php_sapi_name() != 'cli' && !empty($_SERVER['REMOTE_ADDR'])) exit("Access Denied."); // Please configure this -$url = "https://g1sms-blois-2.p2p.legal"; +$url = "http://_DOMAIN"; fclose(fopen($url."/index.php/daemon/message_routine/", "r")); diff --git a/_chain b/_chain deleted file mode 100755 index f1a805b..0000000 --- a/_chain +++ /dev/null @@ -1 +0,0 @@ -QmamXocniF5ccFdSpNZ9K4qCv8NwJqu8UR9kc5xfSMkBFv diff --git a/_nanodate b/_nanodate deleted file mode 100755 index 57e97a5..0000000 --- a/_nanodate +++ /dev/null @@ -1 +0,0 @@ -1578394685159072524 diff --git a/shell/cron_MINUTE.sh b/shell/cron_MINUTE.sh index 9fdd2e8..3eb4e60 100755 --- a/shell/cron_MINUTE.sh +++ b/shell/cron_MINUTE.sh @@ -31,13 +31,6 @@ if [[ "$1" == "" ]]; then fi ################################################################## -################################################################################ -# PRINT G1Tag PRINTED FROM ANOTHER NODE -# CREATE and REMOVE rr.bin -> done.rr -## if [[ -d "./wallets_swarm/.$IPFSNODEID/PRINT/" ]]; then -## log "__SUB:cron_MINUTE.sh: SEARCH NEW PRINT FOR ME .$IPFSNODEID" -## mkdir -p ./wallets/.$IPFSNODEID/PRINT/ - ################################################################## if [[ "$1" == "PRINT" ]]; then ################################################################## diff --git a/shell/manual_BILLETS_PERIMES.sh b/shell/manual_BILLETS_PERIMES.sh index 2b67696..b7d84ec 100755 --- a/shell/manual_BILLETS_PERIMES.sh +++ b/shell/manual_BILLETS_PERIMES.sh @@ -42,7 +42,7 @@ for result in $(find billets/ -daystart -mtime +$vieux -type d -name "*"); do echo $secret $salt echo "/usr/local/bin/silkaj tx --amount=\"$virement\" --output=\"$dest\"" - if [[ "$solde" == "0.0" ]]; then + if [[ "$virement" == "0.0" ]]; then echo "G1Billet déjà vide, suppression de $result"; rm -Rf $result; else PAY=$(/usr/local/bin/silkaj -p duniter-g1.p2p.legal:443 tx --amount="$virement" --output="$dest" --comment="[G1Billet] $numero" -y)