# HG changeset patch # User Pascal Bellard # Date 1287763030 -7200 # Node ID c576fbb79591a09de95f7cc6eded4afce7f0cb15 # Parent fb1c9ba0da0377f37fae343b35ac12d761722a1f watchdog: add /dev/watchdog diff -r fb1c9ba0da03 -r c576fbb79591 watchdog/receipt --- a/watchdog/receipt Fri Oct 22 17:05:28 2010 +0200 +++ b/watchdog/receipt Fri Oct 22 17:57:10 2010 +0200 @@ -28,3 +28,9 @@ cp -a $_pkg/etc $fs cp -a $_pkg/usr/sbin $fs/usr } + +# Pre and post install commands for Tazpkg. +post_install() +{ + [ -c $1/dev/watchdog ] || mknod -m 660 $1/dev/watchdog c 10 130 +}