Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save willwhui/16024c999dac2ad5d78d05fb516a4c74 to your computer and use it in GitHub Desktop.
Save willwhui/16024c999dac2ad5d78d05fb516a4c74 to your computer and use it in GitHub Desktop.
在树莓派3B+raspbian上安装home-assistant
@willwhui
Copy link
Author

willwhui commented Apr 8, 2018

将配置文件加入github.com作为备份

将本地目录加入github.com,参见:Adding an existing project to GitHub using the command line
记得用.ignore文件将特殊的文件排除在外免得每次都看到混淆视听以及产生误操作。

@willwhui
Copy link
Author

willwhui commented May 7, 2018

homeassistant用户使用bash shell

默认使用的shell不好用,运行

sudo vi /etc/passwd

在最后一句

homeassistant:x:999:996::/home/homeassistant:

末尾追加"/bin/bash",成为

homeassistant:x:999:996::/home/homeassistant:/bin/bash

即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment