# HG changeset patch # User Christophe Lincoln # Date 1488362984 -3600 # Node ID 3dd8a58a91bab701389d2fe7b41a15220103b61e # Parent 40599a93e02614e39233905938a12daa67e1c2d4 scn: fix sdt return IP (silly typo) was usinf testing code (thanks paul) diff -r 40599a93e026 -r 3dd8a58a91ba scn/plugins/sdt/sdt.cgi --- a/scn/plugins/sdt/sdt.cgi Tue Feb 28 13:12:45 2017 +0100 +++ b/scn/plugins/sdt/sdt.cgi Wed Mar 01 11:09:44 2017 +0100 @@ -84,8 +84,7 @@ *\ geoloc\ *) # Show IP and country header "Content-Type: text/plain" - #echo "$REMOTE_ADDR" - echo "178.196.15.131" + echo "$REMOTE_ADDR" exit 0 ;; *\ country\ *) @@ -100,8 +99,7 @@ cat << EOT

$d

- $(gettext "Add your SliTaz distro to the database to help us to know who uses - SliTaz :-) Open a terminal and execute:") + $(gettext "Add your SliTaz distro to the database. Open a terminal and execute:") sdt send [username]

EOT