From cc0570b11f755daea4c1b15161313970f3c1476d Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 6 Jan 2016 12:31:45 +0100 Subject: [PATCH] Add script run-journalctl + use /bin/sh for all run-* wrappers 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 | 11 +++++++++++ usr_share/run-multitail | 6 +++--- usr_share/run-screen | 2 +- usr_share/run-welcome | 2 +- 4 files changed, 16 insertions(+), 5 deletions(-) create mode 100755 usr_share/run-journalctl diff --git a/usr_share/run-journalctl b/usr_share/run-journalctl new file mode 100755 index 0000000..6a01e58 --- /dev/null +++ b/usr_share/run-journalctl @@ -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 +# Bug-Reports: see http://grml.org/bugs/ +# License: This file is licensed under the GPL v2. +################################################################################ + +exec /bin/journalctl -b -f + +## END OF FILE ################################################################# diff --git a/usr_share/run-multitail b/usr_share/run-multitail index 1aa2abc..cf12f22 100755 --- a/usr_share/run-multitail +++ b/usr_share/run-multitail @@ -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 , # (c) Michael Gebetsroither # Bug-Reports: see http://grml.org/bugs/ diff --git a/usr_share/run-screen b/usr_share/run-screen index d101fc6..cd55f65 100755 --- a/usr_share/run-screen +++ b/usr_share/run-screen @@ -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 diff --git a/usr_share/run-welcome b/usr_share/run-welcome index 6168284..f574b3d 100755 --- a/usr_share/run-welcome +++ b/usr_share/run-welcome @@ -1,6 +1,6 @@ #!/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 # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -- 2.1.4