2000-01-26 01:55:28 +00:00
|
|
|
diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip.mkdev work.new/skip/freebsd/skip.mkdev
|
|
|
|
--- skipsrc-1.0.orig/skip/freebsd/skip.mkdev Fri Oct 25 13:13:20 1996
|
|
|
|
+++ work.new/skip/freebsd/skip.mkdev Mon Jan 24 12:35:39 2000
|
|
|
|
@@ -48,19 +48,19 @@
|
|
|
|
SKIP_KEYMGRD_MINOR=0
|
|
|
|
SKIP_ACL_NODE=/dev/skip
|
|
|
|
SKIP_MAX_OPENS=16
|
|
|
|
-PATH=/bin:/usr/ucb:/sbin:
|
|
|
|
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
1998-01-09 23:23:58 +00:00
|
|
|
|
2000-01-26 01:55:28 +00:00
|
|
|
-if [ $# != 3 ]; then
|
|
|
|
- exit
|
|
|
|
+if [ $# != 1 ]; then
|
|
|
|
+ exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo -n skip: making skip pseudo-devices
|
|
|
|
rm -f $SKIP_KEYMGR_NODE
|
|
|
|
-mknod $SKIP_KEYMGR_NODE c $3 $SKIP_KEYMGRD_MINOR
|
|
|
|
+mknod $SKIP_KEYMGR_NODE c $1 $SKIP_KEYMGRD_MINOR
|
|
|
|
i=1
|
|
|
|
while [ $i -ne $SKIP_MAX_OPENS ]; do
|
|
|
|
rm -f $SKIP_ACL_NODE$i
|
|
|
|
- mknod $SKIP_ACL_NODE$i c $3 $i
|
|
|
|
+ mknod $SKIP_ACL_NODE$i c $1 $i
|
|
|
|
i=`expr $i + 1`
|
|
|
|
echo -n "."
|
|
|
|
done
|