projects
/
openwrt
/
staging
/
florian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a1d6f0
)
base-files: enable shell tracing in initscripts when INIT_TRACE is set
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 13 Jun 2012 17:10:41 +0000
(17:10 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 13 Jun 2012 17:10:41 +0000
(17:10 +0000)
SVN-Revision: 32340
package/base-files/files/etc/rc.common
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/rc.common
b/package/base-files/files/etc/rc.common
index f9dc83d966de0acae227297f0b284de66557808f..fa2df6cd25d7b778b08b4400a204d473fd0098f0 100755
(executable)
--- a/
package/base-files/files/etc/rc.common
+++ b/
package/base-files/files/etc/rc.common
@@
-1,5
+1,5
@@
#!/bin/sh
-# Copyright (C) 2006-201
1
OpenWrt.org
+# Copyright (C) 2006-201
2
OpenWrt.org
. $IPKG_INSTROOT/lib/functions.sh
. $IPKG_INSTROOT/lib/functions/service.sh
@@
-75,6
+75,8
@@
$EXTRA_HELP
EOF
}
+${INIT_TRACE:+set -x}
+
. "$initscript"
ALL_COMMANDS="start stop reload restart boot shutdown enable disable enabled depends ${EXTRA_COMMANDS}"