1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/security/skip/files/patch-br

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 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
-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