aboutsummaryrefslogtreecommitdiff
path: root/init.d/checkroot
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-14 20:09:53 +0000
committerRoy Marples <roy@marples.name>2007-12-14 20:09:53 +0000
commitafdcf1fa158e9833c163068f77e88d21ba0e3225 (patch)
treec170f21fb6be2dc278e2554c4ae7595f1738d1a4 /init.d/checkroot
parent584cea1f8e0d2aa21f75c273159608d9ee35cda5 (diff)
udev requires try function and the modules-update program should take care of any 2.4 vs 2.6 kernel issues. Also add vim instructions to a few files.
Diffstat (limited to 'init.d/checkroot')
-rwxr-xr-xinit.d/checkroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/checkroot b/init.d/checkroot
index ef491847..d751168a 100755
--- a/init.d/checkroot
+++ b/init.d/checkroot
@@ -32,7 +32,7 @@ depend() {
do_mtab() {
# Don't create mtab if /etc is readonly
- if ! cp /dev/null >/etc/mtab 2>/dev/null; then
+ if ! cp /dev/null /etc/mtab 2>/dev/null; then
ewarn "Skipping /etc/mtab initialization (ro root)"
return 0
fi