functions.sh: use functions instead of aliases for the debug, mount wrappers - hush...
authorFelix Fietkau <nbd@openwrt.org>
Wed, 9 Dec 2009 13:36:43 +0000 (13:36 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 9 Dec 2009 13:36:43 +0000 (13:36 +0000)
SVN-Revision: 18715

package/base-files/files/etc/functions.sh

index eb7faac1fe4dd607307ed95e5ebb848e35bbd282..a788c4cc4efcf90a228cfd25dd4fa5288d71fe73 100755 (executable)
@@ -2,8 +2,13 @@
 # Copyright (C) 2006 OpenWrt.org
 # Copyright (C) 2006 Fokus Fraunhofer <carsten.tittel@fokus.fraunhofer.de>
 
-alias debug=${DEBUG:-:}
-alias mount='busybox mount'
+
+debug () {
+       ${DEBUG:-:}
+}
+mount() {
+       busybox mount
+}
 
 # newline
 N="