How to create a autorun file in linux and execute a shell file?

Big Bang Theory picture Big Bang Theory · Sep 27, 2010 · Viewed 12.4k times · Source

How to create a autorun file in linux which is similar to autorun.inf in Windows in order to execute a shell file ie Following are the requirment

1.Autorun the installer file ./example.sh

When CD is mounted onto the system .

Answer

h_b picture h_b · Sep 27, 2010

this is not possible. would be too much of a risk. You can of course do this for your own system in various variants. for example cronjobs. but i suppose you want it to run on any other system...