From: Felix Fietkau Date: Wed, 9 Dec 2009 13:36:43 +0000 (+0000) Subject: functions.sh: use functions instead of aliases for the debug, mount wrappers - hush... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f1649982e2b10b6d620509acb4484cb493721a55;p=librecmc%2Flibrecmc.git functions.sh: use functions instead of aliases for the debug, mount wrappers - hush does not have aliases SVN-Revision: 18715 --- 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="