echo ""
}
-# Update Fritz 7590
-function update_fritz7590 () {
+# Update Fritz 530 AX
+function update_fritz () {
echo " ------------------------------------ "
- echo "| Updating Fritz 7590 Certificate |"
+ echo "| Updating Fritz 7530 AX Certificate |"
echo " ------------------------------------ "
HOST="fritz.giorgioravera.it"
- USER="fritz5570"
+ USER="fritz5738"
ALIVE=$(ping -c 1 $HOST |grep ttl)
if [ ! -z "$ALIVE" ]; then
update_certificate_fritz $HOST $USER $SRC_FULLCHAIN $SRC_KEY
echo ""
}
-# Update Fritz 530 AX
-function update_fritz7530ax () {
+# Update Fritz 7590
+function update_ap1 () {
echo " ------------------------------------ "
- echo "| Updating Fritz 7530 AX Certificate |"
+ echo "| Updating Fritz 7590 Certificate |"
echo " ------------------------------------ "
HOST="ap1.giorgioravera.it"
- USER="fritz5655"
+ USER="fritz9145"
ALIVE=$(ping -c 1 $HOST |grep ttl)
if [ ! -z "$ALIVE" ]; then
update_certificate_fritz $HOST $USER $SRC_FULLCHAIN $SRC_KEY
{
update_server
update_docker
- update_asterisk
+ #update_asterisk
update_nas
update_firewall
- update_fritz7590
- update_fritz7530ax
+ update_fritz
+ update_ap1
#update_xenserver
update_pve
}
update_firewall
shift
;;
- fritz7590 )
- update_fritz7590
+ fritz )
+ update_fritz
shift
;;
- fritz7530ax )
- update_fritz7530ax
+ ap1 )
+ update_ap1
shift
;;
xenserver )