task | Networkmanager dispatch script - add call to check-nic

This commit is contained in:
Don Harper 2026-04-01 22:39:09 -05:00
parent 16ae5d2944
commit f3644003dc

View file

@ -112,6 +112,7 @@ in {
source = pkgs.writeText "00work" ''
#!/run/current-system/sw/bin/bash
id=JPMCVisitor
/run/wrappers/bin/doas -u don /home/don/bin/check-nic
if [ "$CONNECTION_ID" == "$id" ] && [ "x$DHCP4_IP_ADDRESS" != "x" ]
then
/run/wrappers/bin/doas -u don /etc/profiles/per-user/don/bin/timew start work