diff --git a/postservice/90-ninegate b/postservice/90-ninegate index 2ba59225..6d636337 100755 --- a/postservice/90-ninegate +++ b/postservice/90-ninegate @@ -1,2 +1,7 @@ #!/bin/bash -CreoleRun "/var/www/html/ninegate/scripts/ninegate-postservice-00.sh" web \ No newline at end of file +activer_ninegate=$(CreoleGet activer_ninegate non) +if [ "$activer_ninegate" == "oui" ] +then +CreoleRun "/var/www/html/ninegate/scripts/ninegate-postservice-00.sh" web +fi +