merged grml-quickconfig nonblocking branch
authorMichael Gebetsroither <michael.geb@gmx.at>
Sat, 17 Nov 2007 21:38:29 +0000 (22:38 +0100)
committerMichael Gebetsroither <michael.geb@gmx.at>
Sat, 17 Nov 2007 21:38:29 +0000 (22:38 +0100)
.hgtags
debian/changelog
debian/rules
manpages/grml-init-multitail.1 [new file with mode: 0644]
usr_bin/grml-init-multitail [new file with mode: 0755]

diff --git a/.hgtags b/.hgtags
index b9a6901..6d4ace3 100644 (file)
--- a/.hgtags
+++ b/.hgtags
@@ -69,3 +69,4 @@ e941cdb7c2edfb681422afc23f99a3545f9284f8 1.0.21
 8a448bcb4596e13b2a9e42da983d6dc69f7e1844 1.0.22
 d70905ec5b0147215c351f410f99aedfee1b9ae5 1.0.23
 ab3747c463b35c90e203f87c81ecd6f4e3a386d6 1.0.24
+f779709f9806f26821566cb9e659e0fd72ea2943 1.0.25
index 68beab9..c519f9b 100644 (file)
@@ -1,3 +1,13 @@
+grml-scripts (1.0.25) unstable; urgency=low
+
+  [ Michael Gebetsroither ]
+  * Add script grml-init-multitail.
+
+  [ Michael Prokop ]
+  * Add manpage for grml-init-multitail.
+
+ -- Michael Prokop <mika@grml.org>  Thu, 15 Nov 2007 23:39:09 +0100
+
 grml-scripts (1.0.24) unstable; urgency=low
 
   * Drop runit manpage. Thanks for the hint, gebi.
index 1f93f2a..4b563da 100755 (executable)
@@ -53,10 +53,14 @@ binary-arch: build install
        dh_testroot
        dh_installchangelogs
        dh_installdocs
-       dh_installman manpages/arename.1 manpages/grml-scripts.1 manpages/reread_partition_table.8 manpages/random-hostname.1 \
-       manpages/grml-setkeyboard.8 manpages/grml-setlang.8 manpages/getsf.1 manpages/grml-iptstate.8 manpages/qma.1 manpages/grml-swapon.8 \
-       manpages/grml2ram.8 manpages/gsuggest.1 manpages/dirvish-setup.8 manpages/grml-setservices.8 manpages/grml-quickconfig.8 \
-       manpages/iso-term.1 manpages/alignmargins.8 manpages/get_3ware.1
+       dh_installman manpages/arename.1 manpages/grml-scripts.1 \
+       manpages/reread_partition_table.8 manpages/random-hostname.1 \
+       manpages/grml-setkeyboard.8 manpages/grml-setlang.8 manpages/getsf.1 \
+       manpages/grml-iptstate.8 manpages/qma.1 manpages/grml-swapon.8 \
+       manpages/grml2ram.8 manpages/gsuggest.1 manpages/dirvish-setup.8 \
+       manpages/grml-setservices.8 manpages/grml-quickconfig.8 \
+       manpages/iso-term.1 manpages/alignmargins.8 manpages/get_3ware.1 \
+       manpages/grml-init-multitail.1
 #      cp --no-dereference man/*.1.gz debian/grml-scripts/usr/share/man/man1/
        dh_link /usr/sbin/blacklist /usr/sbin/unblacklist \
                /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/align.1.gz \
diff --git a/manpages/grml-init-multitail.1 b/manpages/grml-init-multitail.1
new file mode 100644 (file)
index 0000000..935c94d
--- /dev/null
@@ -0,0 +1,20 @@
+.TH grml-init-multitail 8
+.SH "NAME"
+grml-init-multitail \- startup wrapper script around multitail
+.SH SYNOPSIS
+.B grml-init-multitail
+.SH DESCRIPTION
+This manual page documents briefly the
+.B grml-init-multitail
+command.
+.SH OPTIONS
+grml-init-multitail does not support any options.
+.SH PURPOSE OF grml-init-multitail
+multitail allows you to view multiple logfiles windowed on console.
+grml-init-multitail is a small wrapper script to execute multitail
+with the appropriate options for use at grml.
+.SH AUTHOR
+grml-init-multitail was written by the grml-team.
+.PP
+This manual page was written by Michael Prokop
+<mika@grml.org> for the grml project (but may be used by others).
diff --git a/usr_bin/grml-init-multitail b/usr_bin/grml-init-multitail
new file mode 100755 (executable)
index 0000000..20494fa
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/dash
+# Filename:      grml-init-multitail
+# Purpose:       fix tty permissions and run multitail
+# Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>,
+#                (c) Michael Gebetsroither <gebi@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 chown $USER.$USER $TTY
+
+# now start the shell:
+  exec /usr/bin/multitail -o 'check_mail:0' /var/log/syslog
+
+## END OF FILE #################################################################