nixos/home/routing-common: Fix mstpd shellcheck
All checks were successful
CI / Check, build and cache nixfiles (push) Successful in 2h44m21s
All checks were successful
CI / Check, build and cache nixfiles (push) Successful in 2h44m21s
This commit is contained in:
@@ -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
|
||||
'';
|
||||
};
|
||||
|
Reference in New Issue
Block a user