How can I run a shell script upon system shutdown in a Knoppix Live system?
Posted
by GeneQ
on Server Fault
See other posts from Server Fault
or by GeneQ
Published on 2010-03-18T06:24:27Z
Indexed on
2010/03/18
6:31 UTC
Read the original article
Hit count: 394
I want to run a shell script upon system shutdown in Knoppix Live (which runs from a writable USB flash drive) so that I can backup some data and ftp it to a remote server. The script works fine but I'm not sure where to put it so that it executes when the system goes into shutdown.
© Server Fault or respective owner