mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Added /etc/profile.d/msm.sh support.
This commit is contained in:
parent
b8d2fc3e4a
commit
2554b67d52
@ -1,6 +1,12 @@
|
||||
|
||||
# Source, if it exists, the msm profile.d script
|
||||
if [ -f "/etc/profile.d/msm.sh" ]; then
|
||||
source "/etc/profile.d/msm.sh"
|
||||
fi
|
||||
|
||||
### Utility Functions
|
||||
|
||||
MSM="/etc/init.d/msm"
|
||||
MSM="${MSM_SCRIPT:-/etc/init.d/msm}"
|
||||
|
||||
# Loads variables
|
||||
__init() {
|
||||
|
5
init/msm
5
init/msm
@ -18,7 +18,10 @@
|
||||
# this script.
|
||||
|
||||
|
||||
### The configuration file
|
||||
# Source, if it exists, the msm profile.d script
|
||||
if [ -f "/etc/profile.d/msm.sh" ]; then
|
||||
source "/etc/profile.d/msm.sh"
|
||||
fi
|
||||
|
||||
# Get the MSM_CONF environment variable or use the default location
|
||||
CONF="${MSM_CONF:-/etc/msm.conf}"
|
||||
|
Loading…
Reference in New Issue
Block a user