more passing argument to shell changes

pull/15/head
necro-nemesis 7 years ago
parent c7041ab70a
commit cbc8878980

@ -634,8 +634,8 @@ function SaveTORAndVPNConfig(){
</div> </div>
<?php <?php
//echo "lokinet-bootstrap ", $bootstrap; //echo "lokinet-bootstrap ", $bootstrap;
$escapedArgumment = escapeshellarg($bootstrap); $bootstrap = escapeshellarg($bootstrap);
$output = shell_exec( "sudo /home/pi/loki-network/lokilaunch.sh bootstrap $bootstrap" ); $output = shell_exec("sudo /home/pi/loki-network/lokilaunch.sh bootstrap {$bootstrap}");
echo "<pre>$output</pre>"; echo "<pre>$output</pre>";
} }

Loading…
Cancel
Save