~drscream

/etc/inittab erweitern

Ich hab mir gedacht eigentlich ist es doch toll ein paar mehr Statusinformationen in den vielen ttys wo man hat anzuzeigen. Also habe ich meine /etc/inittab etwas erweitert und zwar um folgende Zeilen:

# show a clock
9:2345:respawn:/usr/bin/nice -n 19 -- /usr/bin/klock >&/dev/tty9 </dev/tty9

# show the system load
10:2345:respawn:/usr/bin/nice -n 19 -- /usr/bin/tload -d 5 /dev/tty10

# show /var/log/allmessages with less
11:2345:respawn:/usr/bin/nice -n 19 -- /usr/bin/env LESSSECURE=1 /usr/bin/less -iMRS +F /var/log/messages >&/dev/tty11 </dev/tty11

# show htop
12:2345:respawn:/usr/bin/env HOME=/root /usr/bin/htop >&/dev/tty12 </dev/tty12

inittab


Send your comment by mail.