Add script run-journalctl + use /bin/sh for all run-* wrappers
authorMichael Prokop <mika@grml.org>
Wed, 6 Jan 2016 11:31:45 +0000 (12:31 +0100)
committerMichael Prokop <mika@grml.org>
Wed, 6 Jan 2016 11:33:45 +0000 (12:33 +0100)
The script run-journalctl is for usage on tty12 on Grml systems
which are powered by systemd and therefore provoding journalctl.

usr_share/run-journalctl [new file with mode: 0755]
usr_share/run-multitail
usr_share/run-screen
usr_share/run-welcome

diff --git a/usr_share/run-journalctl b/usr_share/run-journalctl
new file mode 100755 (executable)
index 0000000..6a01e58
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Filename:      run-journalctl
+# Purpose:       wrapper for getty setup to run journalctl with according options
+# Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
+# Bug-Reports:   see http://grml.org/bugs/
+# License:       This file is licensed under the GPL v2.
+################################################################################
+
+exec /bin/journalctl -b -f
+
+## END OF FILE #################################################################
index 1aa2abc..cf12f22 100755 (executable)
@@ -1,6 +1,6 @@
-#!/bin/dash
-# Filename:      grml-init-multitail
-# Purpose:       run multitail
+#!/bin/sh
+# Filename:      run-multitail
+# Purpose:       wrapper for getty setup to run multitail with according options
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>,
 #                (c) Michael Gebetsroither <gebi@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>,
 #                (c) Michael Gebetsroither <gebi@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
index d101fc6..cd55f65 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/dash
+#!/bin/sh
 # Filename:      run-screen
 # Purpose:       wrapper for screen to start with appropriate configuration
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Filename:      run-screen
 # Purpose:       wrapper for screen to start with appropriate configuration
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
index 6168284..f574b3d 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 # Filename:      run-welcome
 #!/bin/bash
 # Filename:      run-welcome
-# Purpose:       customized zsh login welcome screen for use at grml
+# Purpose:       customized zsh login welcome screen for use at Grml
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.