From f1649982e2b10b6d620509acb4484cb493721a55 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 9 Dec 2009 13:36:43 +0000 Subject: functions.sh: use functions instead of aliases for the debug, mount wrappers - hush does not have aliases SVN-Revision: 18715 --- package/base-files/files/etc/functions.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/etc/functions.sh b/package/base-files/files/etc/functions.sh index eb7faac..a788c4c 100755 --- a/package/base-files/files/etc/functions.sh +++ b/package/base-files/files/etc/functions.sh @@ -2,8 +2,13 @@ # Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 Fokus Fraunhofer -alias debug=${DEBUG:-:} -alias mount='busybox mount' + +debug () { + ${DEBUG:-:} +} +mount() { + busybox mount +} # newline N=" -- cgit v1.1