task | Networkmanager dispatch script - add call to check-nic
This commit is contained in:
parent
16ae5d2944
commit
f3644003dc
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue