chore: EthernetStatus script and the LaunchCtl plist

This commit is contained in:
Afonso Franco 2024-03-30 16:07:55 +00:00
parent f8772ccc16
commit d1f612bf79
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
2 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>net.francof.ethernetstatus</string>
<key>ProgramArguments</key>
<array>
<string>/Users/afonso/.local/bin/ethernetstatus</string>
<string>Ethernet Status</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>WatchPaths</key>
<array>
<string>/Library/Preferences/SystemConfiguration</string>
</array>
</dict>
</plist>