From 6d00369eca725ca87c34c2f5d7fefd0cbd7b433f Mon Sep 17 00:00:00 2001 From: sky Date: Thu, 12 Dec 2024 22:38:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20simpleupdates/scripts/upda?= =?UTF-8?q?te=5Fsshd.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simpleupdates/scripts/update_sshd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpleupdates/scripts/update_sshd.sh b/simpleupdates/scripts/update_sshd.sh index 960efe6..6dcb449 100644 --- a/simpleupdates/scripts/update_sshd.sh +++ b/simpleupdates/scripts/update_sshd.sh @@ -62,7 +62,7 @@ echo -e "\e[1;32mOpenSSH Server\e[0m" remount_rw 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/" opkg install openssh-server-pam