On Tuesday 11 March 2003 5:09 pm, Justin Haaheim wrote: > ok, but if I want it to run when I boot, how do i put it into init.d? I > can't seem to find chkconfig. If you want it to run at boot, place the script in /etc/init.d If you want to do it the "right" way, take a look at how other scripts are written in that directory and match it. If you dont, its not a big deal, things should work about the same way. Then, make sure you are logged in as root and run: /sbin/chkconfig --add scriptname /sbin/chkconfig --level 345 scriptname on What that will do, make your script capable of management by chkconfig. The second line makes your script run for runlevels 3,4, and 5. > Also, (no one has really answered this) what about my rebooting > question. When I run /sbin/reboot, it doesn't, apparently, properly > logout and shut down the programs, because my settings weren't saved > like they usually are when I formally logout and then hit reboot. What > shell command can I use to reboot the computer that will logout properly > so that my program's settings are saved. All reboot (and shutdown for that matter) does is call shutdown scripts which send terminating signals to all running applications and then halts or resets the CPU. You really want to log out of everything first, then call reboot. If you use Gnome and GDM, there is a reboot button which will log you out, then reboot, likewise if you use KDE and KDM together. Jay -- Jay Kline http://www.slushpupie.com _______________________________________________ Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list