更新 simpleupdates/scripts/update_sshd.sh

This commit is contained in:
sky 2024-12-12 22:38:29 +08:00
parent 6ea5759ce2
commit 6d00369eca

View File

@ -62,7 +62,7 @@ echo -e "\e[1;32mOpenSSH Server\e[0m"
remount_rw remount_rw
mkdir /usrdata/sshd mkdir /usrdata/sshd
wget -O /lib/systemd/system/sshd.service "$GITROOT/sshd/sshd.service" curl -o /lib/systemd/system/sshd.service "$GITROOT/sshd/sshd.service"
ln -sf "/lib/systemd/system/sshd.service" "/lib/systemd/system/multi-user.target.wants/" ln -sf "/lib/systemd/system/sshd.service" "/lib/systemd/system/multi-user.target.wants/"
opkg install openssh-server-pam opkg install openssh-server-pam