aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-12-09 13:36:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-12-09 13:36:43 +0000
commitf1649982e2b10b6d620509acb4484cb493721a55 (patch)
tree0ecb4562fce84095e61720b49ba81893d0d889e7 /package/base-files/files/etc
parent9e995816212ca222347ea493ff09cbd566411dbf (diff)
downloadupstream-f1649982e2b10b6d620509acb4484cb493721a55.tar.gz
upstream-f1649982e2b10b6d620509acb4484cb493721a55.tar.bz2
upstream-f1649982e2b10b6d620509acb4484cb493721a55.zip
functions.sh: use functions instead of aliases for the debug, mount wrappers - hush does not have aliases
SVN-Revision: 18715
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-xpackage/base-files/files/etc/functions.sh9
1 files changed, 7 insertions, 2 deletions
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 <carsten.tittel@fokus.fraunhofer.de>
-alias debug=${DEBUG:-:}
-alias mount='busybox mount'
+
+debug () {
+ ${DEBUG:-:}
+}
+mount() {
+ busybox mount
+}
# newline
N="