mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 01:58:41 +09:00
Revert "firstboot: Restart SSH server at first boot"
This reverts commit b62b2b3306.
This commit is contained in:
@@ -23,6 +23,17 @@ resize2fs ${rootdev}
|
||||
|
||||
rm -f /etc/ssh/ssh_host* && ssh-keygen -A
|
||||
|
||||
service ssh restart
|
||||
case $(cat /sys/firmware/devicetree/base/model) in
|
||||
"Hardkernel Odroid XU4")
|
||||
need_tweak="true"
|
||||
;;
|
||||
*)
|
||||
need_tweak="false"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "x${need_tweak}" = "xtrue" ]; then
|
||||
service ssh restart
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user