1.看是否rc.local 第一行如果是 #!/bin/sh -e 改成 #!/bin/bash

sudo systemctl enable rc-local.service

2.看rc.local的权限 chmod a+x /etc/rc.local

相关文章:

  • 2021-05-10
  • 2021-06-19
  • 2021-12-19
  • 2021-11-20
  • 2022-01-08
  • 2022-01-28
  • 2022-02-11
  • 2021-06-19
猜你喜欢
  • 2021-12-23
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2021-12-13
  • 2021-04-05
相关资源
相似解决方案