]> git.giorgioravera.it Git - scripts.git/commitdiff
Changed fritz installation
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Sat, 21 Jun 2025 20:15:57 +0000 (22:15 +0200)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 5 Aug 2025 17:43:10 +0000 (19:43 +0200)
update_certificate

index f7394be7c63370f2c3158f730b4deb192fb535c8..4f3469206ad38c0b3f73bdc766fe6bd630fdad95 100755 (executable)
@@ -130,13 +130,13 @@ function update_firewall () {
        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
@@ -146,13 +146,13 @@ function update_fritz7590 () {
        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
@@ -195,11 +195,11 @@ function update_all ()
 {
        update_server
        update_docker
-       update_asterisk
+       #update_asterisk
        update_nas
        update_firewall
-       update_fritz7590
-       update_fritz7530ax
+       update_fritz
+       update_ap1
        #update_xenserver
        update_pve
 }
@@ -235,12 +235,12 @@ function parse_options ()
                                update_firewall
                                shift
                                ;;
-                       fritz7590 )
-                               update_fritz7590
+                       fritz )
+                               update_fritz
                                shift
                                ;;
-                       fritz7530ax )
-                               update_fritz7530ax
+                       ap1 )
+                               update_ap1
                                shift
                                ;;
                        xenserver )