aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
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
commitf922e0d01c1011acc3869b1c8bd9fba1ae267274 (patch)
treed0ffd3ba466cd95cf73324b22f54ca991dafb511 /package/base-files
parentb561f0018151a2bef260f8843bf19445844d284c (diff)
downloadupstream-f922e0d01c1011acc3869b1c8bd9fba1ae267274.tar.gz
upstream-f922e0d01c1011acc3869b1c8bd9fba1ae267274.tar.bz2
upstream-f922e0d01c1011acc3869b1c8bd9fba1ae267274.zip
functions.sh: use functions instead of aliases for the debug, mount wrappers - hush does not have aliases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18715 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-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="