vdr/nvram-wakeup/debian postinst

Tobias Grimm pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 04 Jul 2004 10:40:50 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/nvram-wakeup/debian
In directory haydn:/tmp/cvs-serv21162/debian

Modified Files:
	postinst 
Log Message:
using MAKEDEV instead of mknod now

Index: postinst
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/nvram-wakeup/debian/postinst,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- postinst	4 Jul 2004 09:56:32 -0000	1.1
+++ postinst	4 Jul 2004 10:40:48 -0000	1.2
@@ -37,17 +37,17 @@
 
 	    if [ ! -e /dev/nvram ]
 	    then
-		mknod /dev/nvram c 10 144 || echo "Error creating /dev/nvram"
+		/dev/MAKEDEV nvram || echo "Error creating /dev/nvram"
 	    fi
 
 	    if [ ! -e /dev/rtc ]
 	    then
-		mknod /dev/rtc c 10 135 || echo "Error creating /dev/rtc"
+		/dev/MAKEDEV rtc || echo "Error creating /dev/rtc"
 	    fi
 
 	    if [ ! -e /dev/mem ]
 	    then
-		mknod /dev/mem c 1 1 || echo "Error creating /dev/mem"
+		/dev/MAKEDEV mem  c 1 1 || echo "Error creating /dev/mem"
 	    fi