asd
sdadsa
This commit is contained in:
parent
4023167b91
commit
8912b49e92
1 changed files with 3 additions and 4 deletions
|
@ -1,11 +1,7 @@
|
||||||
apt update
|
|
||||||
apt install -y python3 rclone fuse
|
|
||||||
|
|
||||||
if [ ! -f /root/.ssh/id_rsa.pub ] then
|
if [ ! -f /root/.ssh/id_rsa.pub ] then
|
||||||
echo no ssh key, generate: rsa without password
|
echo no ssh key, generate: rsa without password
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo Add the following key to your remote sftp:
|
echo Add the following key to your remote sftp:
|
||||||
cat /root/.ssh/id_rsa.pub
|
cat /root/.ssh/id_rsa.pub
|
||||||
|
@ -13,6 +9,9 @@ echo
|
||||||
echo Press enter to continue
|
echo Press enter to continue
|
||||||
read
|
read
|
||||||
|
|
||||||
|
apt update
|
||||||
|
apt install -y python3 rclone fuse
|
||||||
|
|
||||||
cp -n rclone.conf /root/.config/rclone/rclone.conf
|
cp -n rclone.conf /root/.config/rclone/rclone.conf
|
||||||
cp nman.service /etc/systemd/system/
|
cp nman.service /etc/systemd/system/
|
||||||
cp nman.timer /etc/systemd/system/
|
cp nman.timer /etc/systemd/system/
|
||||||
|
|
Loading…
Reference in a new issue