functions.sh: use functions instead of aliases for the debug, mount wrappers - hush...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Dec 2009 13:36:43 +0000 (13:36 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Dec 2009 13:36:43 +0000 (13:36 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18715 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index eb7faac..a788c4c 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="
This page took 0.033171 seconds and 4 git commands to generate.