CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 4961|回复: 1

linaro配置启动项出现问题

[复制链接]
发表于 2015-2-20 17:03:18 | 显示全部楼层 |阅读模式
已经修改了/etc/rc.local,相应的命令在shell中输入没有问题
已经通过dpkg-recongfigure dash把dash取消了

贴出/etc/rc.local
  1. #!/bin/sh -e

  2. #
  3. # rc.local
  4. #
  5. # This script is executed at the end of each multiuser runlevel.
  6. # Make sure that the script will "exit 0" on success or any other
  7. # value on error.
  8. #
  9. # In order to enable or disable this script just change the execution
  10. # bits.
  11. #
  12. # By default this script does nothing.

  13. ls /sys/class/leds/*/brightness | xargs -i n1 echo "echo 0 > {}"
  14. modprobe bcmdhd
  15. wpa_supplicant -D nl80211 -B -i wlan0 -c <(wpa_passphrase ssid password)
  16. exit 0
复制代码
重启后仍然不行,问题出在哪里呢?
回复

使用道具 举报

发表于 2015-2-20 20:39:37 | 显示全部楼层
放到/etc/init.d/rc.local里试试        
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-2 07:22 , Processed in 0.022818 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部