From: Michael Prokop Date: Fri, 2 Apr 2010 16:27:51 +0000 (+0200) Subject: Use bash in shebang line of grml-vpnc-tugraz. X-Git-Tag: v0.3.2^0 X-Git-Url: http://git.grml.org/?p=grml-network.git;a=commitdiff_plain;h=c3c113261169733915c34208e649a86f7cbf9064;hp=84fb6eed93269d1794fe790b8f7c56a057814dc9 Use bash in shebang line of grml-vpnc-tugraz. --- diff --git a/debian/changelog b/debian/changelog index 9b46ef7..314109f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,8 +5,9 @@ grml-network (0.3.2) unstable; urgency=low /proc/net/wireless with kernel 2.6.33 for example). * Bump Standards-Version to 3.8.4 (no further changes). * Fix wrong usage of redirection in Makefile for doc generation. + * Use bash in shebang line of grml-vpnc-tugraz. - -- Michael Prokop Fri, 02 Apr 2010 18:24:55 +0200 + -- Michael Prokop Fri, 02 Apr 2010 18:27:26 +0200 grml-network (0.3.1) unstable; urgency=low diff --git a/sbin/grml-vpnc-tugraz b/sbin/grml-vpnc-tugraz index 87d40f8..05fa947 100755 --- a/sbin/grml-vpnc-tugraz +++ b/sbin/grml-vpnc-tugraz @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Filename: grml-vpnc-tugraz # Purpose: connect via vpnc in VC-Graz/TU Graz (www.vc-graz.ac.at / www.tugraz.at) # Authors: grml-team (grml.org), (c) Michael Prokop @@ -17,7 +17,7 @@ if [ "$UID" != 0 ]; then exit fi -function typeofservice() { +typeofservice() { NETWORK=$(dialog --stdout --clear --title "foobar" --menu \ "This script is a submenu of grml-network to set up an internet connection