From f0740741a41c10087a61b45306b1512612130321 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sat, 6 Sep 2025 21:40:05 +0100 Subject: [PATCH] nixos/home/routing-common: Fix mstpd shellcheck --- nixos/boxes/home/routing-common/mstpd.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/boxes/home/routing-common/mstpd.nix b/nixos/boxes/home/routing-common/mstpd.nix index fad6382..acf44da 100644 --- a/nixos/boxes/home/routing-common/mstpd.nix +++ b/nixos/boxes/home/routing-common/mstpd.nix @@ -24,8 +24,8 @@ in onState = [ "routable" ]; script = '' #!${pkgs.runtimeShell} - if [ $IFACE = "lan" ]; then - ${mstpd}/sbin/mstpctl setforcevers $IFACE rstp + if [ "$IFACE" = "lan" ]; then + ${mstpd}/sbin/mstpctl setforcevers "$IFACE" rstp fi ''; };