-
-
Save nrmmota/28e0d35a7dcebe2f48ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install: | |
cp vpncmd/vpncmd /usr/bin/ | |
cp vpncmd/ham* /usr/bin/ | |
cp -r vpnserver /usr/local/ | |
chmod 755 vpnserver | |
cp vpnserver.init /etc/init.d/vpnserver | |
cp vpn_server.config /usr/local/vpnserver/ | |
chmod 755 /etc/init.d/vpnserver | |
/sbin/chkconfig --add vpnserver | |
### adding install line here | |
cp script_i_want_to_add.sh /usr/bin | |
uninstall: | |
rm -rf /usr/local/vpnserver | |
#rm -f /etc/init.d/vpnserver | |
/sbin/chkconfig --del vpnserver | |
rm /usr/bin/hamco* | |
rm /usr/bin/vpncmd | |
### adding uninstall line here | |
rm /usr/bin/changevhub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment