Made service not barf all over the console.
This commit is contained in:
parent
dbd658931f
commit
003b83bf78
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -e
|
||||||
|
|
||||||
#
|
#
|
||||||
# JoeyLib
|
# JoeyLib
|
||||||
|
@ -584,7 +584,7 @@ function doInstall() {
|
||||||
|
|
||||||
if [[ ! -f /etc/rc.local ]]; then
|
if [[ ! -f /etc/rc.local ]]; then
|
||||||
echo "#!/bin/bash" | sudo tee /etc/rc.local
|
echo "#!/bin/bash" | sudo tee /etc/rc.local
|
||||||
echo "${EHOME}/buildVm.sh server ${EHOME}/dist" | sudo tee -a /etc/rc.local
|
echo "${EHOME}/buildVm.sh server ${EHOME}/dist &> /dev/null &" | sudo tee -a /etc/rc.local
|
||||||
echo "exit 0" | sudo tee -a /etc/rc.local
|
echo "exit 0" | sudo tee -a /etc/rc.local
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue