mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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:
@@ -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="
|
||||
|
||||
Reference in New Issue
Block a user