added wrestic files for testing
This commit is contained in:
15
debian/debian-configure-wrestic.sh
vendored
Normal file
15
debian/debian-configure-wrestic.sh
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "$EUID" -ne 0 ]
|
||||||
|
then
|
||||||
|
echo "Please run as root"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir /home/akanealw/.config/wrestic
|
||||||
|
mkdir /home/akanealw/restic/restore
|
||||||
|
chown -R akanealw:akanealw /home/akanealw/.config
|
||||||
|
chown -R akanealw:akanealw /home/akanealw/restic
|
||||||
|
mkdir /root/restic/restore
|
||||||
|
wget -O /usr/sbin/local/wrestic
|
||||||
|
wget -O /home/akanealw/.config/wrestic/wrestic.toml
|
||||||
Reference in New Issue
Block a user