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: http://git.lede-project.org./?a=commitdiff_plain;h=d1c3666e6613e509efde6c3cdc85547ac0ed7458;p=openwrt%2Fsvn-archive%2Farchive.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="