From ca49bfcebf872096c5e3e53f5291fa975948535e Mon Sep 17 00:00:00 2001 From: fly Date: Sat, 1 Jun 2024 20:37:41 +0000 Subject: [PATCH] Add restart script Signed-off-by: fly --- scripts/restart-sim.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 scripts/restart-sim.sh diff --git a/scripts/restart-sim.sh b/scripts/restart-sim.sh new file mode 100755 index 0000000..5838dc8 --- /dev/null +++ b/scripts/restart-sim.sh @@ -0,0 +1,3 @@ +#! /usr/bin/env bash +killall -r "fgfs.*" -s SIGKILL +fgfs --aircraft=A320-200-IAE --enable-fullscreen --fg-aircraft=/home/fly/Aircraft --disable-terrasync --disable-ai-traffic --timeofday=noon --airport=EDDF --enable-horizon-effect --enable-distance-attenuation --fg-scenery=/home/fly/scenery/terrasync --fg-scenery=/home/fly/scenery/nav