mirror of
https://github.com/namibia/openvpn-install.git
synced 2024-12-23 07:18:54 +00:00
rc.local fix
This commit is contained in:
parent
98ca79a9de
commit
f3ff29d6c7
@ -304,6 +304,7 @@ RemainAfterExit=yes
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target" > /etc/systemd/system/rc-local.service
|
WantedBy=multi-user.target" > /etc/systemd/system/rc-local.service
|
||||||
|
chmod +x /etc/rc.local
|
||||||
systemctl enable rc-local.service
|
systemctl enable rc-local.service
|
||||||
if ! grep '#!' $RCLOCAL; then
|
if ! grep '#!' $RCLOCAL; then
|
||||||
echo "#!/bin/bash" > $RCLOCAL
|
echo "#!/bin/bash" > $RCLOCAL
|
||||||
|
Loading…
Reference in New Issue
Block a user