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

Re: Screen blanking on logout



On Sun, Sep 08, 2002 at 11:28:53PM +0200, Raffaele Sandrini wrote:
   > 
   > I solved it with  this script:
   > -----
   > #!/bin/bash
   > 
   > clear
   > exec /sbin/getty 38400 $1
   > -----
   > 
   > And in the inittab i have then:
   > 1:2345:respawn:/root/bin/shell tty1
   > 
   > The disadvantage about this approach is that if i loose the "shell" script i 
   > wont be able to log into my system without tweaking with a second system...
   > 
Why not put the `clear` in /etc/issue? That way as and when the user
logs out, the screen is cleared and whatever is in issue comes on
screen. I am attaching my /etc/issue. Try that.

Regards,

-- 
Sridhar M.A.

Save gas, don't use the shell.
 _______________________________________________________________________________

        _,met$$$$$gg.
      ,g$$$$$$$$$$$$$$$P.
    ,g$$P""       """Y$$.".
   ,$$P'              `$$$.
 ',$$P       ,ggs.     `$$b:
 `d$$'     ,$P"'   .    $$$
  $$P      d$'     ,    $$P
  $$:      $$.   -    ,d$$'      
  $$;      Y$b._   _,d$P'        _,           _,      ,mb.
  Y$$.    `.`"Y$$$$P"'         `$$'         `$$'     `Y$$P'
  `$$b      "-.__               $$           $$        `'
   `Y$$b                        $$           $$         _,           _
    `Y$$.                 ,d$$$g$$  ,d$$$b.  $$,d$$$b.`$$' g$$$$$b.`$$,d$$b.
      `$$b.              ,$P'  `$$ ,$P' `Y$. $$$'  `$$ $$  "'   `$$ $$$' `$$
        `Y$$b.           $$'    $$ $$'   `$$ $$'    $$ $$  ,ggggg$$ $$'   $$
          `"Y$b._        $$     $$ $$ggggg$$ $$     $$ $$ ,$P"   $$ $$    $$
              `""""      $$    ,$$ $$.       $$    ,$P $$ $$'   ,$$ $$    $$
                         `$g. ,$$$ `$$._ _., $$ _,g$P' $$ `$b. ,$$$ $$    $$
                          `Y$$P'$$. `Y$$$$P',$$$$P"'  ,$$. `Y$$P'$$.$$.  ,$$.

                                  Debian GNU/\s (sarge) \n (\l)
_______________________________________________________________________________


Reply to: