procps/XConsole

6 lines
213 B
Plaintext
Raw Normal View History

2002-02-02 04:17:29 +05:30
#!/bin/sh
# xconsole is capable of doing everything XConsole did, and is maintained...
# it is not setuid root, so we just exit if called as non-root
[ $(id -u) = 0 ] || exit 0
exec xconsole -file /proc/kmsg "$@"