I have an assignment where i have to show a message when entering runlevel 3 and when exiting runlevel 3. I have created the script in init.d:
And created a symbolic link in rc3.d.
however: when changing runlevel the message is not shown
asked 21 Jun '12, 19:21
The message may not be directed to the right console. Double-check that the script is actually being run; you could try redirecting the message to a file:
If that works, you'll need to redirect the message to the proper console, e.g.