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