I have read at multiple places that the folder
/Library/Preferences/SystemConfiguration is supposed to "change" in case that I unplug a network cable.
Now, I have a MacBook Pro, so I use a USB3 adapter to connect a network cable.
Indeed, nothing changes when I plug or unplug it within this folder. I clearly see in "Network settings" that the LAN connection is established or dropped when I plug or unplug the cable.
Where should anything change? Is there some folder or anything else that I can use as trigger for AppleScript, when plugging/unplugging the network cable?