From af17f2b0b66abbfb8ad75069586f9ac5335140f6 Mon Sep 17 00:00:00 2001 From: akanealw Date: Tue, 10 Oct 2023 13:07:47 -0500 Subject: [PATCH] testing sed command --- 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 5116756..9d8764e 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/$hostname/$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