I have wriiten a script to switch on buzzer and given the path of that script in '/etc/rc.local'. So after booting my script works and it make the buzzer to switch on...
my question is
i want to switch the buzzer off when my device is shutdown.(for startup we use rc.local file is there any file to edit and use while shutdown.)