Skip to content

Commit

Permalink
fix dirs in run
Browse files Browse the repository at this point in the history
1activegeek committed Aug 22, 2024
1 parent 39533cd commit 992b89c
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions root/etc/s6-overlay/s6-rc.d/svc-aircast/run
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@
# Check for VAR - default, kill, custom
if [ -z "$AIRCAST_VAR" ]; then
echo "No AIRCAST_VAR present, continuing with standard aircast launch variables"
exec /bin/aircast-linux-x86_64
exec /usr/bin/aircast-linux-x86_64
elif [ "$AIRCAST_VAR" = "kill" ]; then
echo "AIRCAST_VAR set to kill, skipping aircast service launch"
exit 0
else
echo "AIRCAST_VAR present, using custom user aircast launch variables"
exec /bin/aircast-linux-x86_64 $AIRCAST_VAR
exec /usr/bin/aircast-linux-x86_64 $AIRCAST_VAR
fi
4 changes: 2 additions & 2 deletions root/etc/s6-overlay/s6-rc.d/svc-airupnp/run
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@
# Check for VAR - default, kill, custom
if [ -z "$AIRUPNP_VAR" ]; then
echo "No AIRUPNP_VAR present, continuing with standard airupnp launch variables"
exec /bin/airupnp-linux-x86_64 -l 1000:2000
exec /usr/bin/airupnp-linux-x86_64 -l 1000:2000
elif [ "$AIRUPNP_VAR" = "kill" ]; then
echo "AIRUPNP_VAR set to kill, skipping airupnp service launch"
exit 0
else
echo "AIRUPNP_VAR present, using custom user airupnp launch variables"
exec /bin/airupnp-linux-x86_64 $AIRUPNP_VAR
exec /usr/bin/airupnp-linux-x86_64 $AIRUPNP_VAR
fi

0 comments on commit 992b89c

Please sign in to comment.