dashboard
repositories
filestore
activity
search
login
main
/
build-imxboard
IGKBoard BSP build system
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
Update u-boot patch, it can flash and boot up now
guowenxue
2023-12-19
84751c4e42fc1d377e0c1f509f950a0740935ec4
[build-imxboard.git]
/
yocto
/
meta-igkboard
/
recipes-misc
/
sshswitch
/
files
/
sshswitch.service
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Turn on SSH if /run/media/boot-mmcblk0p1/ssh is present
ConditionPathExists=/run/media/boot-mmcblk0p1/ssh
After=weston.service
[Service]
Type=oneshot
ExecStart=/bin/sh -c "/bin/sed -i 's/^#PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config && rm -f /run/media/boot-mmcblk0p1/ssh"
[Install]
WantedBy=multi-user.target