Split grml-scripts into grml-scripts and grml-scripts-core
[grml-scripts-core.git] / usr_bin / grml-init-screen
diff --git a/usr_bin/grml-init-screen b/usr_bin/grml-init-screen
deleted file mode 100755 (executable)
index 183df63..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/dash
-# Filename:      grml-init-screen
-# Purpose:       fix tty permissions and run screen and zsh afterwards
-# Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
-# Bug-Reports:   see http://grml.org/bugs/
-# License:       This file is licensed under the GPL v2.
-################################################################################
-
-# export variable USER for use withing GNU screen:
-  export USER=`id -un`
-
-# fix rungetty:
-  TTY=`tty`
-  sudo chmod 660       $TTY
-  sudo chown $USER.tty $TTY
-
-# now start screen:
-  cd $HOME
-  # do we have a utf8 enabled terminal?
-  [ -x /usr/bin/vt-is-UTF8 ] && /usr/bin/vt-is-UTF8 -q && UTF='-U'
-  /usr/bin/screen $UTF -c /etc/grml/screenrc ; exec /bin/zsh
-
-## END OF FILE #################################################################