楼主: shinjisfg
收起左侧

[系统与软件] 树莓派看门狗程序,自动重启防死机

2013-1-28 13:11:22 | 显示全部楼层
shinjisfg 发表于 2013-1-28 08:54
楼上有个兄弟找到一个遗漏的地方,在sed 命令的那边加一条
sed -i 's/#\(watchdog-device\t[\ ]*\)\=/\1\ ...

大大威武
回复 支持 反对

使用道具 举报

2013-1-28 16:19:32 | 显示全部楼层
shinjisfg 发表于 2013-1-28 08:54
楼上有个兄弟找到一个遗漏的地方,在sed 命令的那边加一条
sed -i 's/#\(watchdog-device\t[\ ]*\)\=/\1\ ...
pi@RaspberryPi ~ $ sudo sh wdog.sh
wdog.sh: 2: wdog.sh: [+] Activating Temperature Sensor: not found
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.6.11+/modules.dep.bin'
[+]Installing Watchdog
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
chkconfig 已经是最新的版本了。
watchdog 已经是最新的版本了。
下列软件包是自动安装的并且现在不需要了:
  fcitx-bin fcitx-config-common fcitx-config-gtk fcitx-data fcitx-frontend-all
  fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4 fcitx-libs
  fcitx-module-dbus fcitx-module-kimpanel fcitx-module-lua fcitx-module-x11
  fcitx-modules fcitx-ui-classic libpresage-data libpresage1 libtinyxml2.6.2
  presage
Use 'apt-get autoremove' to remove them.
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 4 个软件包未被升级。
[+]Setting Up Watchdog
[ ok ] Stopping watchdog keepalive daemon....
[FAIL] Starting watchdog daemon... failed!


我自己找了手动安装看门狗的教程,以及大大的sh,都报错。
回复 支持 反对

使用道具 举报

2013-3-9 21:08:08 | 显示全部楼层
先收下了,感谢
回复 支持 反对

使用道具 举报

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

本版积分规则

热点推荐

关注我们,了解更多

官方微信

服务时间:10:00-16:00

13714503811

公司地址:深圳市龙岗区南湾街道东门头路8号

Copyright © 2012-2020 Powered by 树莓派论坛 2019.4  粤ICP备15075382号-1
快速回复 返回列表 返回顶部