Symlink notifyd.py to osd_server.py for backward compatibility
[grml-scripts.git] / usr_bin / grml-init
1 #!/bin/dash
2 # Filename:      grml-init
3 # Purpose:       fix tty permissions and run zsh
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2.
7 ################################################################################
8
9 # export variable USER for use withing GNU screen:
10   export USER=`id -un`
11
12 # fix rungetty:
13   TTY=`tty`
14   sudo chown $USER.$USER $TTY
15
16 # now start the shell:
17   exec /bin/zsh
18
19 ## END OF FILE #################################################################