mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
functions.sh: use functions instead of aliases for the debug, mount wrappers - hush does not have aliases
SVN-Revision: 18715
This commit is contained in:
parent
9e99581621
commit
f1649982e2
@ -2,8 +2,13 @@
|
|||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006 OpenWrt.org
|
||||||
# Copyright (C) 2006 Fokus Fraunhofer <carsten.tittel@fokus.fraunhofer.de>
|
# Copyright (C) 2006 Fokus Fraunhofer <carsten.tittel@fokus.fraunhofer.de>
|
||||||
|
|
||||||
alias debug=${DEBUG:-:}
|
|
||||||
alias mount='busybox mount'
|
debug () {
|
||||||
|
${DEBUG:-:}
|
||||||
|
}
|
||||||
|
mount() {
|
||||||
|
busybox mount
|
||||||
|
}
|
||||||
|
|
||||||
# newline
|
# newline
|
||||||
N="
|
N="
|
||||||
|
Loading…
Reference in New Issue
Block a user