projects
/
openwrt
/
staging
/
ansuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e99581
)
functions.sh: use functions instead of aliases for the debug, mount wrappers - hush...
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 9 Dec 2009 13:36:43 +0000
(13:36 +0000)
committer
Felix 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
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/functions.sh
b/package/base-files/files/etc/functions.sh
index eb7faac1fe4dd607307ed95e5ebb848e35bbd282..a788c4cc4efcf90a228cfd25dd4fa5288d71fe73 100755
(executable)
--- 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="