-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Fixed - [LET'S ENCRYPT][RENEW CRONTAB] : Reload modified tls profiles according to renewed certificates (1.771 - issue with let's Encrypt renewal #17)
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
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
37 changes: 37 additions & 0 deletions
37
vulture_toolkit/update_api/update_scripts/GUI-1.79/maj_vulture-LIBS.sh
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
# | ||
# This migration script install newest Vulture-LIBS package | ||
# | ||
# | ||
|
||
. /etc/rc.conf | ||
|
||
if [ "$http_proxy" != "" ] | ||
then | ||
export https_proxy="http://$http_proxy" | ||
export http_proxy="http://$http_proxy" | ||
fi | ||
|
||
cd /tmp | ||
|
||
/bin/echo "[+] Updating Vulture-LIBS from branch \"$1\"..." | ||
/bin/rm -f /tmp/Vulture-LIBS.tar.gz | ||
|
||
bsd_version=$(/usr/bin/uname -r | /usr/bin/cut -d '-' -f 1) | ||
url="https://download.vultureproject.org/v3/$bsd_version$1/Vulture-LIBS.tar.gz" | ||
|
||
/bin/echo -n "[+] Downloading from '$url' ..." | ||
/usr/local/bin/wget --no-check-certificate $url >>/tmp/installation.log 2>&1 | ||
/bin/echo "DONE" | ||
|
||
cd /home/vlt-gui | ||
/bin/rm -rf ./env | ||
/usr/bin/tar xf /tmp/Vulture-LIBS.tar.gz | ||
/usr/sbin/chown -R vlt-gui:vlt-gui /home/vlt-gui/ | ||
|
||
/bin/echo -n "[+] Installing Vulture libraries ..." | ||
/bin/sh "/home/vlt-gui/lib-$bsd_version/install.sh" | ||
/bin/echo "OK" | ||
|
||
/bin/echo "[*] Update of Vulture-LIBS ended" | ||
|