summaryrefslogtreecommitdiff
path: root/etc/etc.wgrisc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-05-13 05:35:02 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-05-13 05:35:02 +0000
commit1eab4c1ea709703e299cf22769b4408bd1e0f2b3 (patch)
tree5525546d13e0503081b760ccf509974dd69ea154 /etc/etc.wgrisc
parent3915bbd2a1acc58e9031ce6a1e6e2f886bc8e143 (diff)
Only run MAKEDEV.local if it exists. Avoids an error message
during installs where there is no MAKEDEV.local.
Diffstat (limited to 'etc/etc.wgrisc')
-rw-r--r--etc/etc.wgrisc/MAKEDEV4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.wgrisc/MAKEDEV b/etc/etc.wgrisc/MAKEDEV
index 31dbf231dde..6010fe4f82a 100644
--- a/etc/etc.wgrisc/MAKEDEV
+++ b/etc/etc.wgrisc/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.2 1997/04/23 20:39:05 gvf Exp $
+# $OpenBSD: MAKEDEV,v 1.3 1997/05/13 05:35:01 millert Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@@ -209,7 +209,7 @@ random|srandom|urandom|prandom|arandom)
local)
umask 0
- sh MAKEDEV.local
+ test -s MAKEDEV.local && sh MAKEDEV.local
;;
*)