mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
sudo
This commit is contained in:
parent
7ea83a607b
commit
b549f7d891
@ -391,7 +391,7 @@ function restore_gs {
|
|||||||
then
|
then
|
||||||
MESSAGE="Restoring ${CUSTOM_DNS} on $HOSTNAME"
|
MESSAGE="Restoring ${CUSTOM_DNS} on $HOSTNAME"
|
||||||
echo_stat
|
echo_stat
|
||||||
cp $HOME/${LOCAL_FOLDR}/${BACKUP_FOLD}/${CUSTOM_DNS}.backup ${PIHOLE_DIR}/${CUSTOM_DNS} >/dev/null 2>&1
|
sudo cp $HOME/${LOCAL_FOLDR}/${BACKUP_FOLD}/${CUSTOM_DNS}.backup ${PIHOLE_DIR}/${CUSTOM_DNS} >/dev/null 2>&1
|
||||||
error_validate
|
error_validate
|
||||||
|
|
||||||
MESSAGE="Validating Ownership on ${CUSTOM_DNS}"
|
MESSAGE="Validating Ownership on ${CUSTOM_DNS}"
|
||||||
|
Loading…
Reference in New Issue
Block a user