projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
functions.sh: use functions instead of aliases for the debug, mount wrappers - hush...
[openwrt/staging/mkresin.git]
/
package
/
base-files
/
files
/
etc
/
functions.sh
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="