From: Michael Prokop Date: Mon, 19 Oct 2009 07:39:10 +0000 (+0200) Subject: /etc/init.d/grml-reboot: use bash as interpreter X-Git-Tag: v1.1.25^0 X-Git-Url: http://git.grml.org/?p=grml-etc.git;a=commitdiff_plain;h=269109801453d1c66dce4855bdb94f571883e335 /etc/init.d/grml-reboot: use bash as interpreter --- diff --git a/debian/changelog b/debian/changelog index 61617d2..52cfd63 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +grml-etc (1.1.25) unstable; urgency=low + + * /etc/init.d/grml-reboot: use bash as interpreter so the + syntax of the read command is supported. Thanks to Christian + Hofstaedtler for the bugreport. + + -- Michael Prokop Mon, 19 Oct 2009 09:38:22 +0200 + grml-etc (1.1.24) unstable; urgency=low * .xinitrc: fix syntax of test for $XKEYBOARD. diff --git a/etc/init.d/grml-reboot b/etc/init.d/grml-reboot index 637630b..7f14558 100755 --- a/etc/init.d/grml-reboot +++ b/etc/init.d/grml-reboot @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Filename: grml-reboot # Purpose: reboot grml system # Authors: grml-team (grml.org) @@ -14,7 +14,8 @@ export PATH=/sbin:/bin:/usr/bin:/usr/sbin cd / # Clean input/output -exec >/dev/console 2>&1 "$CONSOLE" 2>&1 <"$CONSOLE" # default variables INSTALLED=false