mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Missing ;;
This commit is contained in:
parent
7ad9b70f09
commit
a853727489
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Gravity Sync by vmstan
|
# Gravity Sync by vmstan
|
||||||
VERSION='1.1.4'
|
VERSION='1.1.5'
|
||||||
|
|
||||||
# Must execute from a location in the home folder of the user who own's it (ex: /home/pi/gravity-sync)
|
# Must execute from a location in the home folder of the user who own's it (ex: /home/pi/gravity-sync)
|
||||||
# Configure certificate based SSH authentication between the Pihole HA nodes - it does not use passwords
|
# Configure certificate based SSH authentication between the Pihole HA nodes - it does not use passwords
|
||||||
@ -103,8 +103,7 @@ case $# in
|
|||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
|
|
||||||
push)
|
push)
|
||||||
|
|
||||||
echo -e "${GREEN}Success${NC}: Push Requested"
|
echo -e "${GREEN}Success${NC}: Push Requested"
|
||||||
echo -e "${YELLOW}WARNING: DATA LOSS IS POSSIBLE${NC}"
|
echo -e "${YELLOW}WARNING: DATA LOSS IS POSSIBLE${NC}"
|
||||||
echo -e "This will send the running ${GRAVITY_FI} from this server to your primary Pihole"
|
echo -e "This will send the running ${GRAVITY_FI} from this server to your primary Pihole"
|
||||||
@ -139,7 +138,6 @@ case $# in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
update)
|
update)
|
||||||
|
|
||||||
echo -e "${GREEN}Success:${NC} Update Requested"
|
echo -e "${GREEN}Success:${NC} Update Requested"
|
||||||
# echo -e "${PURPLE}Info:${NC} Gravity Sync ${VERSION}"
|
# echo -e "${PURPLE}Info:${NC} Gravity Sync ${VERSION}"
|
||||||
# echo -e "${YELLOW}UPDATING REQUIRES ORIGINAL INSTALL VIA GIT${NC}"
|
# echo -e "${YELLOW}UPDATING REQUIRES ORIGINAL INSTALL VIA GIT${NC}"
|
||||||
@ -158,10 +156,10 @@ case $# in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
logs)
|
logs)
|
||||||
|
|
||||||
echo -e "${GREEN}Success:${NC} Logs Requested"
|
echo -e "${GREEN}Success:${NC} Logs Requested"
|
||||||
echo -e "Showing last three successful execution timestamps"
|
echo -e "Showing last three successful execution timestamps"
|
||||||
tail -n 3 ${SYNCING_LOG}
|
tail -n 3 ${SYNCING_LOG}
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo -e "${RED}'$1' is not a valid argument${NC}"
|
echo -e "${RED}'$1' is not a valid argument${NC}"
|
||||||
|
Loading…
Reference in New Issue
Block a user