projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a7c1868
)
rc.d/diskless - Fix check for devfs
author
Alex Hornung <ahornung@gmail.com>
Wed, 16 Sep 2009 14:18:39 +0000 (15:18 +0100)
committer
Alex Hornung <ahornung@gmail.com>
Wed, 16 Sep 2009 14:18:39 +0000 (15:18 +0100)
* rc.d/diskless was checking for sysctl node vfs.devfs.generation, which
does not exist on DragonFly. Change this check to vfs.devfs.
etc/rc.d/diskless
patch
|
blob
|
blame
|
history
diff --git
a/etc/rc.d/diskless
b/etc/rc.d/diskless
index
9ea8804
..
bb36de4
100644
(file)
--- a/
etc/rc.d/diskless
+++ b/
etc/rc.d/diskless
@@
-126,7
+126,7
@@
else
fi
fi
-if sysctl vfs.devfs.generation > /dev/null 2>&1 ; then
+if sysctl vfs.devfs > /dev/null 2>&1 ; then
# we have DEVFS, no worries...
true
elif (/bin/mkdir /dev/.diskless 2> /dev/null); then