1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/security/skip/files/patch-bk
1999-03-10 22:28:00 +00:00

29 lines
826 B
Plaintext

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 Mar 8 22:02:26 1999
@@ -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
-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