aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/bin
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates/bin')
-rwxr-xr-xpriv/templates/bin10
1 files changed, 10 insertions, 0 deletions
diff --git a/priv/templates/bin b/priv/templates/bin
index 0b439c3..8bb6890 100755
--- a/priv/templates/bin
+++ b/priv/templates/bin
@@ -32,6 +32,11 @@ find_sys_config() {
__possible_sys="$REL_DIR/sys.config"
if [ -f "$__possible_sys" ]; then
SYS_CONFIG="$__possible_sys"
+ else
+ if [ -L "$__possible_sys".orig ]; then
+ mv "$__possible_sys".orig "$__possible_sys"
+ SYS_CONFIG="$__possible_sys"
+ fi
fi
}
@@ -39,6 +44,11 @@ find_vm_args() {
__possible_vm_args="$REL_DIR/vm.args"
if [ -f "$__possible_vm_args" ]; then
VM_ARGS="$__possible_vm_args"
+ else
+ if [ -L "$__possible_vm_args".orig ]; then
+ mv "$__possible_vm_args".orig "$__possible_vm_args"
+ VM_ARGS="$__possible_vm_args"
+ fi
fi
}