diff --git a/main.c b/main.c index d413c6d1..6b0bc6f1 100644 --- a/main.c +++ b/main.c @@ -2319,7 +2319,7 @@ if (setting == ON) { command = popen("if ! grep -q force_turbo=1 /boot/config.txt ; then sudo sh -c 'echo force_turbo=1 >> /boot/config.txt'; fi", "r"); pclose(command); // command = popen("sudo reboot now", "r"); - command = popen("sudo systemctl restart cubesatsim, "r"); + command = popen("sudo systemctl restart cubesatsim", "r"); pclose(command); sleep(60); return; @@ -2335,7 +2335,7 @@ if (setting == ON) { command = popen("sudo sed -i ':a;N;$!ba;s/\'$'\n''force_turbo=1//g' /boot/config.txt", "r"); pclose(command); // command = popen("sudo reboot now", "r"); - command = popen("sudo systemctl restart cubesatsim, "r"); + command = popen("sudo systemctl restart cubesatsim", "r"); pclose(command); sleep(60); return;