„bootstrap“ ändern

This commit is contained in:
dingens 2023-07-24 17:54:12 +00:00
parent 060f766c80
commit 95ec840e3b
1 changed files with 2 additions and 2 deletions

View File

@ -1,13 +1,13 @@
#!/usr/bin/env bash
if sudo grep -q arch /etc/os-release; then
yes | sudo pacman -S openssh
yes | sudo pacman -S openssh rsync
yes | sudo systemctl enable sshd.service
yes | sudo systemctl restart sshd.service
fi
if sudo grep -q opensuse /etc/os-release; then
sudo zypper -n in openssh-server
sudo zypper -n in openssh-server rsync
sudo systemctl enable sshd.service
sudo systemctl start sshd.service
fi