[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fwd: Bug in /etc/rc.d/rc.sysinit]



FYI: I got this email; it is a good bug fix.


-------- Original Message --------
Subject: Bug in /etc/rc.d/rc.sysinit
Date: Thu, 9 Sep 2010 09:00:30 +0200
From: Andre Przywara
To: [email protected]

Hi,

while adapting the startup process of ttylinux I found a possible bug
in  the startup scripts, to me it looks like a copy-and-paste error or
a  debug leftover. The patch to fix this would be:

--- rc.sysinit.orig	2010-09-09 08:59:29.000000000 +0200
+++ rc.sysinit	2010-09-09 08:54:28.000000000 +0200
@@ -611,7 +611,7 @@

 _nfs="no"
 while read _dev _dir _type _text; do
-	[[ x"${_type}" = x"proc" ]] && _nfs="yes"
+	[[ x"${_type}" = x"nfs" ]] && _nfs="yes"
 done </etc/fstab
 if [[ "${_nfs}" = "yes" ]]; then
 	sleep 1 # Give dhcp some time to complete.

Maybe you could fix this in a later release.

Regards,
Andre.

-- 
Andre Przywara