From f1649982e2b10b6d620509acb4484cb493721a55 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 9 Dec 2009 13:36:43 +0000 Subject: [PATCH] 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 eb7faac1fe..a788c4cc4e 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=" -- 2.25.1