consistent spelling of SpyGuard for install, uninstall and update
This commit is contained in:
parent
20925f3c1f
commit
3d18d7ba13
@ -66,8 +66,8 @@ set_credentials() {
|
||||
}
|
||||
|
||||
create_directory() {
|
||||
# Create the Spyguard directory and move the whole stuff there.
|
||||
echo -e "[+] Creating Spyguard folder under /usr/share/"
|
||||
# Create the SpyGuard directory and move the whole stuff there.
|
||||
echo -e "[+] Creating SpyGuard folder under /usr/share/"
|
||||
mkdir /usr/share/spyguard
|
||||
cp -Rf ./* /usr/share/spyguard
|
||||
}
|
||||
|
@ -1,11 +1,11 @@
|
||||
|
||||
delete_folder(){
|
||||
echo "[+] Deleting Spyguard folders"
|
||||
echo "[+] Deleting SpyGuard folders"
|
||||
rm -rf /usr/share/spyguard/
|
||||
}
|
||||
|
||||
delete_services(){
|
||||
echo "[+] Deleting Spyguard services"
|
||||
echo "[+] Deleting SpyGuard services"
|
||||
|
||||
systemctl disable spyguard-frontend &> /dev/null
|
||||
systemctl disable spyguard-backend &> /dev/null
|
||||
|
@ -11,7 +11,7 @@ if [ $PWD = "/usr/share/spyguard" ]; then
|
||||
cd /tmp/spyguard && bash update.sh
|
||||
elif [ $PWD = "/tmp/spyguard" ]; then
|
||||
|
||||
echo "[+] Saving spyguard backend's SSL configuration in /tmp/"
|
||||
echo "[+] Saving SpyGuard backend's SSL configuration in /tmp/"
|
||||
mv /usr/share/spyguard/server/backend/*.pem /tmp/
|
||||
|
||||
echo "[+] Deleting the current SpyGuard folders and files."
|
||||
|
Loading…
Reference in New Issue
Block a user