Displaying 1 result from an estimated 1 matches for "k99mytest".
2005 Dec 19
6
Shutdown script not being run
...and:
    #!/bin/bash
    #
    # chkconfig: 45 01 99
    # description: Test Start and stop script
    #
    
    echo "Called with $1"
I installed it with 'chkconfig --add mytest'.
The softlinks exist in the runlevel directories:
    /etc/rc.d/init.d/mytest
    /etc/rc.d/rc0.d/K99mytest
    /etc/rc.d/rc1.d/K99mytest
    /etc/rc.d/rc2.d/K99mytest
    /etc/rc.d/rc3.d/K99mytest
    /etc/rc.d/rc4.d/S01mytest
    /etc/rc.d/rc5.d/S01mytest
    /etc/rc.d/rc6.d/K99mytest
When I 'telinit 4', I can see the script output in /var/log/messages:
    Dec 19 11:46:49 bnofdn1 mytest: Cal...