[Fai-commit] r3992 - trunk/bin

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Wed Sep 20 17:06:02 UTC 2006


Author: lange
Date: 2006-09-20 17:06:01 +0000 (Wed, 20 Sep 2006)
New Revision: 3992

Modified:
   trunk/bin/fai-setup
Log:
fix typos


Modified: trunk/bin/fai-setup
===================================================================
--- trunk/bin/fai-setup	2006-09-20 16:19:45 UTC (rev 3991)
+++ trunk/bin/fai-setup	2006-09-20 17:06:01 UTC (rev 3992)
@@ -82,7 +82,7 @@
 	exit 8
     fi
 
-    if [ $FAI_LOGPROTO= "ssh" ]; then
+    if [ "$FAI_LOGPROTO" = "ssh" ]; then
 	# set up ssh on the server
 	mkdir -p -m 700 $loguserhome/.ssh
 	
@@ -119,7 +119,7 @@
 	chmod 0700 $sshdir/authorized_keys
 	echo "$sshdir/authorized_keys created."
     fi
-    if [ $FAI_LOGPROTO= "rsh" -a ! -f $loguserhome/.rhosts ]; then
+    if [ "$FAI_LOGPROTO" = "rsh" -a ! -f $loguserhome/.rhosts ]; then
 	# use .rhosts authentication
 	echo "+ at faiclients root" > $loguserhome/.rhosts
 	chmod go-rwx $loguserhome/.rhosts




More information about the Fai-commit mailing list