mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Fix templates, upd script and firewallv6
This commit is contained in:
parent
9d0a012160
commit
ae6ba7a896
20 changed files with 130 additions and 67 deletions
15
upd/add_ipv6.sh
Normal file → Executable file
15
upd/add_ipv6.sh
Normal file → Executable file
|
@ -13,6 +13,14 @@ if [ ! -e "$VESTA/data/firewallv6" ]; then
|
|||
|
||||
fi
|
||||
|
||||
#download new templates
|
||||
$BIN/v-update-web-templates
|
||||
$BIN/v-update-dns-templates
|
||||
|
||||
#testing
|
||||
#rm -rf /usr/local/vesta/data/templates/*
|
||||
# cp -rf /usr/local/vesta/install/rhel/7/templates/* /usr/local/vesta/data/templates/es/
|
||||
|
||||
#set IPv4 version
|
||||
iplist=$(ls --sort=time $VESTA/data/ips/)
|
||||
for ip in $iplist; do
|
||||
|
@ -55,9 +63,6 @@ for user in $userlist; do
|
|||
$BIN/v-rebuild-user $user
|
||||
done
|
||||
|
||||
$BIN/v-update-sys-ip-counters
|
||||
|
||||
#download new templates
|
||||
$BIN/v-update-web-templates
|
||||
$BIN/v-update-dns-templates
|
||||
|
||||
/usr/local/vesta/bin/v-add-user-notification admin "IPv6 support" "Your vesta installation supports IPv6!"
|
||||
$BIN/v-add-user-notification admin "IPv6 support" "Your vesta installation supports IPv6!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue