From acef4309b9f99aad66d58dcfced1407c6a1ff1ed Mon Sep 17 00:00:00 2001 From: akanealw Date: Tue, 10 Oct 2023 13:05:06 -0500 Subject: [PATCH] changed hostname to lowercase --- debian/debian-configure-wrestic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/debian-configure-wrestic.sh b/debian/debian-configure-wrestic.sh index e0e1469..d46e5eb 100644 --- a/debian/debian-configure-wrestic.sh +++ b/debian/debian-configure-wrestic.sh @@ -13,7 +13,7 @@ mkdir -pv /home/akanealw/restic/restore mkdir -pv /root/restic/restore wget -O /usr/local/bin/wrestic http://192.168.1.50/files/wrestic/wrestic wget -O /home/akanealw/.config/wrestic/wrestic.toml http://192.168.1.50/files/wrestic/wrestic.toml -sed -i "s/changeme/$HOSTNAME/g" /home/akanealw/.config/wrestic/wrestic.toml +sed -i "s/changeme/$hostname/g" /home/akanealw/.config/wrestic/wrestic.toml chown -R akanealw:akanealw /home/akanealw/.config chown -R akanealw:akanealw /home/akanealw/restic chmod +x /usr/local/bin/wrestic