From 33c84781ec8c0225472bd1bf00184efcdff3c20b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 1 Jan 2011 20:40:05 +0100 Subject: use /sbin for watchdog binary --- package/busybox/Makefile | 2 +- package/busybox/files/watchdog.init | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'package/busybox') diff --git a/package/busybox/Makefile b/package/busybox/Makefile index 46752cb72..6145cb780 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= busybox PKG_VERSION:= 1.18.1 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= f15fe752d8b7012aa5e59f83b88ccb1c PKG_DESCR:= Core utilities for embedded systems PKG_SECTION:= base diff --git a/package/busybox/files/watchdog.init b/package/busybox/files/watchdog.init index 5fadef046..1f1724da5 100644 --- a/package/busybox/files/watchdog.init +++ b/package/busybox/files/watchdog.init @@ -10,10 +10,10 @@ autostart) exec sh $0 start ;; start) - /usr/sbin/watchdog $watchdog_flags /dev/watchdog + /sbin/watchdog $watchdog_flags /dev/watchdog ;; stop) - kill $(pgrep -f /usr/sbin/watchdog) + kill $(pgrep -f /sbin/watchdog) ;; restart) sh $0 stop -- cgit v1.2.3