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-Tag: v19.07.0-rc1~32350 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f1649982e2b10b6d620509acb4484cb493721a55;p=openwrt%2Fstaging%2Fhauke.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="