wok-4.x rev 6898
watchdog: add /dev/watchdog
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 22 17:57:10 2010 +0200 (2010-10-22) |
parents | fb1c9ba0da03 |
children | dfa088e80f23 |
files | watchdog/receipt |
line diff
1.1 --- a/watchdog/receipt Fri Oct 22 17:05:28 2010 +0200 1.2 +++ b/watchdog/receipt Fri Oct 22 17:57:10 2010 +0200 1.3 @@ -28,3 +28,9 @@ 1.4 cp -a $_pkg/etc $fs 1.5 cp -a $_pkg/usr/sbin $fs/usr 1.6 } 1.7 + 1.8 +# Pre and post install commands for Tazpkg. 1.9 +post_install() 1.10 +{ 1.11 + [ -c $1/dev/watchdog ] || mknod -m 660 $1/dev/watchdog c 10 130 1.12 +}