[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: setterm -store doesn't stick



I can not tell why -store does not store but a work around might be to put
something like the following lines in your .bashrc:

power_save() {
  if [ -z "$DISPLAY" ]; then
    setterm -powersave on
  fi
}

power_save

--- Begin Message ---
I'm trying to do a setterm -store (-powersave off -powerdown 20), but
every time I get a new logon screen (mingetty), everything gets reset to
default.  I used to be able to do this in RedHat (5.2, way-back-when),
also using mingetty, but now it won't work.

What am I doing wrong? 

-- 
"I already have all the latest software."
     -- Laura Winslow, "Family Matters"

Dwayne C. Litzenberger - dlitz@cheerful.com

Please always Cc to me when replying to me on the lists.

Advertising Policy: http://www.redrival.com/dlitz/spamoff.html
GnuPG Public Key:   http://www.redrival.com/dlitz/gpgkey.asc
     Fingerprint:   0535 F7CF FF5F 8547 E5A5 695E 4456 FB6C BC39 A4B0

Attachment: pgp194ErMnXqO.pgp
Description: PGP signature


--- End Message ---

Reply to: