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" ];
|
onState = [ "routable" ];
|
||||||
script = ''
|
script = ''
|
||||||
#!${pkgs.runtimeShell}
|
#!${pkgs.runtimeShell}
|
||||||
if [ $IFACE = "lan" ]; then
|
if [ "$IFACE" = "lan" ]; then
|
||||||
${mstpd}/sbin/mstpctl setforcevers $IFACE rstp
|
${mstpd}/sbin/mstpctl setforcevers "$IFACE" rstp
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user