Code: Select all
#!/bin/sh
echo "Hello Run Level 5"
Code: Select all
#!/bin/sh
echo "Hello Run Level 5"
I have a task, to create my own runlevel script that runs arbitrary script or program at boot, how would i do that ?gerald_clark wrote:You can't.
Scripts in rc5.d run when the system enters runlevel 5, not when you login.
If you want something to run at login you need to use the startup facility of the window manager you are using.
For Gnome, it is System->Preferences->Startup Applications.