/etc/rc.d/init.d/pants

Make sure you're wearing pants when you go multiuser.

[root@ramsgate-nh init.d]# ./pants status We're not wearing any pants ... [root@ramsgate-nh init.d]# ./pants start Putting on pants, one leg at a time [ OK ] [root@ramsgate-nh init.d]# ./pants start Putting on pants, one leg at a time [ FAILED ] Looks like we've still got some old pants on. They'll do. [root@ramsgate-nh init.d]# ./pants restart Time for a change of pants. Taking off pants [ OK ] Putting on pants, one leg at a time [ OK ] [root@ramsgate-nh init.d]# ./pants status Pants are ON ... [root@ramsgate-nh init.d]# ./pants stop Taking off pants [ OK ] [root@ramsgate-nh init.d]# chkconfig --list pants pants 0:off 1:off 2:on 3:on 4:on 5:on 6:off [root@ramsgate-nh init.d]# /pre>

the script: http://www.vergenet.net/~conrad/scripts/pants

as an RPM package: ftp://ftp.vergenet.net/pub/redhat/6.0/RPMS/i386/pants-0.0.0-2.i386.rpm

To use: copy into /etc/rc.d/init.d and run " /sbin/chkconfig pants reset ". Puts itself into runlevels 2, 3, 4 and 5. Probably works on RH6.x only.

Wed Nov 3 1999 Update from Dave Miller:

I've checked this into the main build tree, should show up in 6.2, it's quite oathogonal to other system services so I can't see why we shouldn't be shipping this. Later, David S. Miller

This is certainly good news for pants wearers everywhere. It's about time more software distributors realised that they have a responsibility to ensure their users aren't computing with their pants off.

Mon Apr 17 2000

Horms has created RPM packages for pants "as it doesn't seem to be on RH6.2 after all :)".

RPM .spec file: pants.spec

K's Place | Software