mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Add variables for locating other MSM files
This commit is contained in:
parent
19e0f84c71
commit
5f1861a681
4
init/msm
4
init/msm
@ -32,8 +32,12 @@ if [ -f "/etc/profile.d/msm.sh" ]; then
|
|||||||
source "/etc/profile.d/msm.sh"
|
source "/etc/profile.d/msm.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Get real script file location
|
||||||
|
SCRIPT="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")"
|
||||||
# Get the MSM_CONF environment variable or use the default location
|
# Get the MSM_CONF environment variable or use the default location
|
||||||
CONF="${MSM_CONF:-/etc/msm.conf}"
|
CONF="${MSM_CONF:-/etc/msm.conf}"
|
||||||
|
# Get the MSM_BASH_COMPLETION environment variable or use default location
|
||||||
|
BASH_COMPLETION="${MSM_BASH_COMPLETION:-/etc/bash_completion.d/msm}"
|
||||||
|
|
||||||
|
|
||||||
# The Minecraft Server Manager version, use "msm version" to check yours.
|
# The Minecraft Server Manager version, use "msm version" to check yours.
|
||||||
|
Loading…
Reference in New Issue
Block a user