diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2017-10-16 20:33:42 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2017-10-16 20:33:42 +0000 |
commit | 7cfa3e760c3120c8a59160b5d601bfd7a4b97b6a (patch) | |
tree | ea764527fc3f35ee17e4f21b3756873230a0ba21 /etc/etc.socppc/MAKEDEV | |
parent | 8e57af6ba00682a846c5471e29804298d4204906 (diff) |
sync
Diffstat (limited to 'etc/etc.socppc/MAKEDEV')
-rw-r--r-- | etc/etc.socppc/MAKEDEV | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/etc/etc.socppc/MAKEDEV b/etc/etc.socppc/MAKEDEV index 8f5ea0237b4..4b5fe0d4fc1 100644 --- a/etc/etc.socppc/MAKEDEV +++ b/etc/etc.socppc/MAKEDEV @@ -4,7 +4,7 @@ # generated from: # # OpenBSD: etc.socppc/MAKEDEV.md,v 1.31 2016/09/04 15:38:59 naddy Exp -# OpenBSD: MAKEDEV.common,v 1.93 2016/09/11 03:06:31 deraadt Exp +# OpenBSD: MAKEDEV.common,v 1.96 2017/10/16 20:26:52 naddy Exp # OpenBSD: MAKEDEV.mi,v 1.83 2016/09/11 03:06:31 deraadt Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # @@ -236,12 +236,11 @@ tun*) ;; *random) - n=0 - for pre in " " s u a - do - M ${pre}random c 40 $n 644 - n=$(($n+1)) - done + M urandom c 40 0 644 + RMlist[${#RMlist[*]}]=random + MKlist[${#MKlist[*]}]=";ln -s urandom random" + RMlist[${#RMlist[*]}]=arandom + MKlist[${#MKlist[*]}]=";ln -s urandom arandom" ;; pppx*) |