mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-20 09:04:42 +02:00
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
This commit is contained in:
parent
3f21f09b7c
commit
8f027803a0
@ -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…
x
Reference in New Issue
Block a user