be consistent, and use "mkdir foo 2>/dev/null" instead of "mkdir -p foo"
(to suppress errors if foo already exists)
This commit is contained in:
parent
b927725af9
commit
9ee14b2e73
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: MAKEDEV,v 1.167 2002/02/11 12:27:10 martti Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.168 2002/02/11 12:54:13 lukem Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
|
@ -856,7 +856,7 @@ dpti*)
|
|||
;;
|
||||
|
||||
altq)
|
||||
mkdir -p altq
|
||||
mkdir altq 2>/dev/null
|
||||
chmod 755 altq
|
||||
unit=0
|
||||
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
|
||||
|
|
Loading…
Reference in New Issue