How to write/run a script of lost internet connection and start it via systemd and autostart
So I want to write a script which shuts down the Ubuntu system when the Lan cable is unplugged.
But my problem is, that I am a complete newbie to this subject!
I have never ever made something with systemd, service-files, startup, etc.
The entire day I am trying it to make it run but the sad fact is, that I always failed.