From 18ebea9d555765ada81226c8ae6876db2fd03c33 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 28 Feb 2026 20:30:30 -0500 Subject: [PATCH] Update main.c change to start/stop pacsatsim --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 174a3bbb..6634b079 100644 --- a/main.c +++ b/main.c @@ -247,11 +247,11 @@ int main(int argc, char * argv[]) { } if ( mode == PACSAT) { - FILE * pacsat_file = popen("sudo systemctl start cubesatsim", "r"); + FILE * pacsat_file = popen("sudo systemctl start pacsatsim", "r"); pclose(pacsat_file); } else { - FILE * pacsat_file = popen("sudo systemctl stop cubesatsim", "r"); + FILE * pacsat_file = popen("sudo systemctl stop pacsatsim", "r"); pclose(pacsat_file); }