mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 04:49:42 +02:00
[package] base-files: enable shell tracing in initscripts when INIT_TRACE is set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32340 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4a84d63d35
commit
41f27dafe5
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright (C) 2006-2011 OpenWrt.org
|
# Copyright (C) 2006-2012 OpenWrt.org
|
||||||
|
|
||||||
. $IPKG_INSTROOT/lib/functions.sh
|
. $IPKG_INSTROOT/lib/functions.sh
|
||||||
. $IPKG_INSTROOT/lib/functions/service.sh
|
. $IPKG_INSTROOT/lib/functions/service.sh
|
||||||
@ -75,6 +75,8 @@ $EXTRA_HELP
|
|||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
${INIT_TRACE:+set -x}
|
||||||
|
|
||||||
. "$initscript"
|
. "$initscript"
|
||||||
|
|
||||||
ALL_COMMANDS="start stop reload restart boot shutdown enable disable enabled depends ${EXTRA_COMMANDS}"
|
ALL_COMMANDS="start stop reload restart boot shutdown enable disable enabled depends ${EXTRA_COMMANDS}"
|
||||||
|
Loading…
Reference in New Issue
Block a user