I think you also need a "description:" line, after the "chkconfig:" line.
-Jason On Friday 06 June 2003 07:18 pm, Norman Zhang wrote: > Hi, > > I have vendor program at /opt/CA/uagent/uagent with symlink from > /usr/lib/uagent. > > I would like to run this program after boot. So I created > /etc/rc.d/init.d/uagent. When I tried chkconfig --add uagent. I get > "Service uagent does not support chkconfig". Would someone please give me a > few pointers. > > #!/bin/sh > # > # usagent Start CA BrightStor Linux Backup Agent. > # This script starts /usr/bin/uagent > # > # chkconfig: 2345 90 20 > # ========================= 'Things either exist or they don't,' said Jeremy. 'I am very clear about that. I have medicine.' (The Thief of Time)
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
