aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/extended_bin.dtl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-06-27 19:41:13 -0500
committerTristan Sloughter <[email protected]>2014-06-27 19:41:23 -0500
commit13a76fa25a67cc6d9e3a1192d5acc90d36a81585 (patch)
tree7569726ec28521fd3e2db44fee32772c075efd47 /priv/templates/extended_bin.dtl
parentc2d14cb9574492f57e79fc8a8b025bf33cc5c5d1 (diff)
downloadrelx-13a76fa25a67cc6d9e3a1192d5acc90d36a81585.tar.gz
relx-13a76fa25a67cc6d9e3a1192d5acc90d36a81585.tar.bz2
relx-13a76fa25a67cc6d9e3a1192d5acc90d36a81585.zip
fix for running console on target system. meaning start.boot
Diffstat (limited to 'priv/templates/extended_bin.dtl')
-rw-r--r--priv/templates/extended_bin.dtl2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl
index d4b65d3..bfdc132 100644
--- a/priv/templates/extended_bin.dtl
+++ b/priv/templates/extended_bin.dtl
@@ -276,7 +276,7 @@ case "$1" in
# For e.g. 'setup', one may even want to name another boot script.
case "$1" in
console)
- if [ "$REL_DIR/$REL_NAME.boot" ]; then
+ if [ -f "$REL_DIR/$REL_NAME.boot" ]; then
BOOTFILE="$REL_DIR/$REL_NAME"
else
BOOTFILE="$REL_DIR/start"