summaryrefslogtreecommitdiff
path: root/etc/etc.amiga
diff options
context:
space:
mode:
authordgregor <dgregor@cvs.openbsd.org>1997-09-07 20:29:16 +0000
committerdgregor <dgregor@cvs.openbsd.org>1997-09-07 20:29:16 +0000
commit962343b88dff66edf90e729426d2dadf728e6a35 (patch)
treec58cf5cb2765d5f9266e80e69ff5a5102000b459 /etc/etc.amiga
parent1e23bab9f98cce44a960d5ae48807ab362309d08 (diff)
In pty* rule:\n Change 'rm -rf' to 'rm -f'\n Fix {pty,tty}$n -> {pty,tty}$nam
Diffstat (limited to 'etc/etc.amiga')
-rw-r--r--etc/etc.amiga/MAKEDEV4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.amiga/MAKEDEV b/etc/etc.amiga/MAKEDEV
index 935bc54e602..047c4fe94c6 100644
--- a/etc/etc.amiga/MAKEDEV
+++ b/etc/etc.amiga/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.25 1997/06/15 09:30:28 niklas Exp $
+# $OpenBSD: MAKEDEV,v 1.26 1997/09/07 20:29:08 dgregor Exp $
# $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -489,7 +489,7 @@ pty*)
while [ $n -lt 16 ]
do
nam=$name`hex $n`
- rm -rf {tty,pty}$n
+ rm -f {tty,pty}$nam
mknod tty$nam c 4 "$(( $offset + $n ))"
mknod pty$nam c 5 "$(( $offset + $n ))"
n="$(( $n + 1 ))"