]> err.no Git - dotfiles/commitdiff
handle devfs console names
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Mon, 24 May 2004 13:56:33 +0000 (13:56 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Mon, 24 May 2004 13:56:33 +0000 (13:56 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@596 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

zlogout

diff --git a/zlogout b/zlogout
index 936584caad7369c0f4aaf17b4972d45cceb85689..bc095ab913f63788082e673e7156836a677043f6 100644 (file)
--- a/zlogout
+++ b/zlogout
@@ -3,5 +3,5 @@
 # when leaving the console clear the screen to increase privacy
 
 case "`tty`" in
-    /dev/tty[0-9]) clear
+    /dev/tty[0-9]|/dev/vc/*) clear
 esac