更新 simpleupdates/scripts/update_sshd.sh
This commit is contained in:
parent
6ea5759ce2
commit
6d00369eca
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user