There is no option that I know of.
The only workaround I could think of, would be to create a custom connection.
In a custom connection you can eg. start any Linux command or script. As connections are linked on the desktop, it would be very easy for a user to turn it on/off.
There is no document but it is pretty easy.
Just define a Custom connection and enter the command you want to execute.
Could look like this
CONNECT=CUSTOM Description=”MyCustom” Command=/bin/shutdown -now Icon=default LocalCopy=no