dashboard
repositories
filestore
activity
search
login
main
/
imx6ull
凌云实验室推出的ARM Linux物联网网关开发板IGKBoard(IoT Gateway Kit Board)项目源码
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
update imx6ull bsp tarball buid.sh fix 127.0.0.1 bug
guowenxue
2022-01-03
b0cd99d409f38e1aafcd67fef85a95f913b8ffbd
[imx6ull.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/mmcblk1p1/ssh is present
ConditionPathExists=/run/media/mmcblk1p1/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/mmcblk1p1/ssh"
[Install]
WantedBy=multi-user.target