This commit is contained in:
simono41 2018-09-03 02:40:18 +02:00
parent 502c639d9c
commit 6fa8d143b9

View file

@ -750,6 +750,8 @@ mkdir -p /root/.ssh
echo "ServerAliveInterval 120" > ~/.ssh/config echo "ServerAliveInterval 120" > ~/.ssh/config
echo "ServerAliveCountMax 15" >> ~/.ssh/config echo "ServerAliveCountMax 15" >> ~/.ssh/config
if ! [ "${version}" == "libre-xfce4-openrc" ]; then
# Install rc.local # Install rc.local
echo "[Unit] echo "[Unit]
Description=/etc/rc.local compatibility Description=/etc/rc.local compatibility
@ -772,7 +774,6 @@ if ! grep 'setcap cap_net_raw+ep /bin/ping' $RCLOCAL; then
echo "setcap cap_net_raw+ep /bin/ping" >> $RCLOCAL echo "setcap cap_net_raw+ep /bin/ping" >> $RCLOCAL
fi fi
if ! [ "${version}" == "libre-xfce4-openrc" ]; then
# Install rc.shutdown # Install rc.shutdown