Author: jhuntwork
Date: 2005-06-22 20:54:23 -0600 (Wed, 22 Jun 2005)
New Revision: 264

Modified:
   
trunk/packages/blfs-bootscripts/blfs-bootscripts-20050619-add-autosshd-1.patch
Log:
Updated autosshd bootscript to look for /.autosshd

Modified: 
trunk/packages/blfs-bootscripts/blfs-bootscripts-20050619-add-autosshd-1.patch
===================================================================
--- 
trunk/packages/blfs-bootscripts/blfs-bootscripts-20050619-add-autosshd-1.patch  
    2005-06-23 02:52:34 UTC (rev 263)
+++ 
trunk/packages/blfs-bootscripts/blfs-bootscripts-20050619-add-autosshd-1.patch  
    2005-06-23 02:54:23 UTC (rev 264)
@@ -1,7 +1,7 @@
 diff -Naur blfs-bootscripts-20050313-ORIG/blfs/init.d/autosshd 
blfs-bootscripts-20050313/blfs/init.d/autosshd
 --- blfs-bootscripts-20050313-ORIG/blfs/init.d/autosshd        1970-01-01 
05:00:00.000000000 +0500
 +++ blfs-bootscripts-20050313/blfs/init.d/autosshd     2005-05-13 
09:07:15.000000000 +0600
-@@ -0,0 +1,26 @@
+@@ -0,0 +1,25 @@
 +#!/bin/sh
 +# Begin $rc_base/init.d/autosshd
 +
@@ -10,8 +10,7 @@
 +
 +case "$1" in
 +      start)
-+              if cat /proc/cmdline | grep -q "autosshd"; then
-+                      echo "root:lfs" | chpasswd
++              if [ -f /.autosshd ] ; then
 +                      /etc/rc.d/init.d/sshd start
 +              fi
 +              ;;

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to