Remove watchdog before creating it. Keeps the same behavior as the rest of the creates
This commit is contained in:
parent
d324e2eb55
commit
da9feda63a
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: MAKEDEV,v 1.127 2000/11/26 17:44:11 ad Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.128 2000/11/30 07:33:52 jmc Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
|
@ -682,6 +682,7 @@ sysmon)
|
|||
chown root.wheel sysmon
|
||||
chmod 644 sysmon
|
||||
|
||||
rm -f watchdog
|
||||
mknod watchdog c $major 1
|
||||
chown root.wheel watchdog
|
||||
chmod 644 watchdog
|
||||
|
|
Loading…
Reference in New Issue