As subject, I would like to write a systemd script which runs at startup and disables the weather shell extension if the laptop is not connected to the internet. When the system shuts down, it should enable it again before turning off the power.
Debian 8.
Any idea?