1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-12-22 23:08:55 +00:00

rc.local fix

This commit is contained in:
TheKinrar 2016-11-25 18:25:37 +01:00 committed by GitHub
parent 98ca79a9de
commit f3ff29d6c7

View File

@ -304,6 +304,7 @@ RemainAfterExit=yes
[Install]
WantedBy=multi-user.target" > /etc/systemd/system/rc-local.service
chmod +x /etc/rc.local
systemctl enable rc-local.service
if ! grep '#!' $RCLOCAL; then
echo "#!/bin/bash" > $RCLOCAL