openvpn-reconnect

This commit is contained in:
simono41 2018-07-31 10:54:32 +02:00
parent a18e69cb8c
commit 2d1785ae91

View file

@ -588,16 +588,17 @@ setcap cap_net_raw+ep /bin/ping
# openvpn-reconnect # openvpn-reconnect
cp /opt/${repo}/openvpn-reconnect /usr/bin/openvpn-reconnect #cp /opt/${repo}/openvpn-reconnect /usr/bin/openvpn-reconnect
chmod +x /usr/bin/openvpn-reconnect #chmod +x /usr/bin/openvpn-reconnect
cp /opt/${repo}/openvpn-reconnect-systemd.sh /usr/lib/systemd/system-sleep/openvpn-reconnect-systemd.sh #cp /opt/${repo}/openvpn-reconnect-systemd.sh /usr/lib/systemd/system-sleep/openvpn-reconnect-systemd.sh
chmod +x /usr/lib/systemd/system-sleep/openvpn-reconnect-systemd.sh #chmod +x /usr/lib/systemd/system-sleep/openvpn-reconnect-systemd.sh
su "$username" -c "aurinstaller "https://aur.archlinux.org/pamac-aur.git"" su "$username" -c "aurinstaller "https://aur.archlinux.org/pamac-aur.git""
if [ "$version" != "pi" ] && [ "$packageupdate" != "skip" ]; then if [ "$version" != "pi" ] && [ "$packageupdate" != "skip" ]; then
su "$username" -c "aurinstaller "https://aur.archlinux.org/plymouth.git"" su "$username" -c "aurinstaller "https://aur.archlinux.org/plymouth.git""
su "$username" -c "aurinstaller "https://aur.archlinux.org/plymouth-theme-dark-arch.git"" su "$username" -c "aurinstaller "https://aur.archlinux.org/plymouth-theme-dark-arch.git""
plymouth-set-default-theme -R dark-arch plymouth-set-default-theme -R dark-arch
su "$username" -c "aurinstaller "openvpn-reconnect""
fi fi
# nano # nano