From 3de22c0585df76998433f8713fe9db4fb44788db Mon Sep 17 00:00:00 2001 From: Fyodor Date: Sat, 25 Jun 2016 02:29:41 +0300 Subject: [PATCH] fix command and markup typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I just try it again and notice that i forgot to add `-r` flag to rm without this flag: ``` rm: cannot remove ‘/etc/ipsec.d/cacerts’: Directory not empty rm: cannot remove ‘/etc/ipsec.d/certs’: Directory not empty rm: cannot remove ‘/etc/ipsec.d/examples’: Directory not empty rm: cannot remove ‘/etc/ipsec.d/policies’: Directory not empty rm: cannot remove ‘/etc/ipsec.d/private’: Directory not empty ``` Also fix markup - set bold instead italic for more attention --- docs/uninstall.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/uninstall.md b/docs/uninstall.md index 7462f91..378910b 100644 --- a/docs/uninstall.md +++ b/docs/uninstall.md @@ -49,7 +49,7 @@ If using IPv6, also edit `/etc/sysconfig/ip6tables`. ## Fourth step Edit `/etc/sysctl.conf` and remove the lines after `# Added by hwdsl2 VPN script`. -Edit `/etc/rc.local` and remove the lines after `# Added by hwdsl2 VPN script`, *except exit 0 (if any)*. +Edit `/etc/rc.local` and remove the lines after `# Added by hwdsl2 VPN script`, **except exit 0 (if any)**. ## Optional @@ -66,7 +66,7 @@ Remove these config files: Copy and paste for fast removal: -`rm -f /etc/ipsec.conf /etc/ipsec.secrets /etc/xl2tpd/xl2tpd.conf /etc/ppp/options.xl2tpd /etc/ppp/chap-secrets /etc/ipsec.d/* /etc/pam.d/pluto /etc/sysconfig/pluto` +`rm -rf /etc/ipsec.conf /etc/ipsec.secrets /etc/xl2tpd/xl2tpd.conf /etc/ppp/options.xl2tpd /etc/ppp/chap-secrets /etc/ipsec.d/* /etc/pam.d/pluto /etc/sysconfig/pluto` Remove Libreswan source directory: