|
@@ -50,7 +50,10 @@ make
|
|
|
cd ../
|
|
|
echo -e "\n"
|
|
|
echo -e "${green}>>> 需要输入密码配置oled屏幕启动服务...${normal}"
|
|
|
-sudo cp *.service /usr/lib/systemd/system/
|
|
|
+sudo cp *.service /lib/systemd/system/
|
|
|
+sudo chmod 644 /lib/systemd/system/oled_startup*.service
|
|
|
+sudo systemctl daemon-reload
|
|
|
+sudo systemctl enable oled_startup_sh.service
|
|
|
echo -e "\n"
|
|
|
echo -e "${green}>>> 全部代码都已编译配置完成,下面开始使用小车...${normal}"
|
|
|
echo -e "\n"
|