Also display helpful notes on upgrade/reinstall

This commit is contained in:
Martoko
2020-12-20 10:16:21 +01:00
parent 4e3a89a3ba
commit d7dbd60471
3 changed files with 12 additions and 3 deletions

View File

@@ -2,7 +2,16 @@ post_install() {
echo ':: In order to enable nordvpn you have to start the following service:'
echo ' sudo systemctl enable --now nordvpnd'
echo ':: You have to add yourself to the nordvpn group:'
echo " gpasswd -a USERNAME nordvpn"
echo " sudo gpasswd -a USERNAME nordvpn"
echo ':: You then have to restart for the group to be created:'
echo " reboot"
}
post_upgrade() {
echo ':: In order to enable nordvpn you have to start the following service:'
echo ' sudo systemctl enable --now nordvpnd'
echo ':: You have to add yourself to the nordvpn group:'
echo " sudo gpasswd -a USERNAME nordvpn"
echo ':: You then have to restart for the group to be created:'
echo " reboot"
}