mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Added do-nothing patch for init script.
This commit is contained in:
parent
c191a0cc2d
commit
0f94ed7153
@ -77,6 +77,10 @@ function patch_latest_files() {
|
|||||||
install_log "Patching MSM cron file"
|
install_log "Patching MSM cron file"
|
||||||
awk '{ if ($0 !~ /^#/) sub(/minecraft/, "'$msm_user'"); print }' \
|
awk '{ if ($0 !~ /^#/) sub(/minecraft/, "'$msm_user'"); print }' \
|
||||||
"$dl_dir/msm.cron.orig" >"$dl_dir/msm.cron"
|
"$dl_dir/msm.cron.orig" >"$dl_dir/msm.cron"
|
||||||
|
|
||||||
|
# patch init file
|
||||||
|
install_log "Patching MSM init file"
|
||||||
|
cp "$dl_dir/msm.init.orig" "$dl_dir/msm.init"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Installs msm.conf into /etc
|
# Installs msm.conf into /etc
|
||||||
|
Loading…
Reference in New Issue
Block a user