Bob Nielsen wrote: > On Thu, 3 Sep 1998, Robert Lyonnais wrote: > > > Thank you. > > > > Would you happen to know where this is set by default during startup? > > I would like to change the current setting but I have been unable to > > find setterm anywhere in my startup scripts. > > I'm not sure (I believe that 10 minutes is the default and it may be > compiled into some routine). You can add a new setting to one of your > startup scripts. I created a file /etc/init.d/local for such things. > > Bob
setterm is not called. The kernel itself sets this value. setterm is merely a wrapper around a kernel call to change the timeout. As Bob said, create a local script in init.d, put a symlink to it in rc2.d call S99local, and all is well. The S means S and the 99 means run it last. so in /etc/init.d there is a script called 'local' w/: #!/bin/sh setterm -blank x <- where X is what you want in /etc/rc2.d there is a file 'S99local' which is a symlink -> /etc/init.d/local.