Author: jhuntwork
Date: 2005-05-04 06:46:46 -0600 (Wed, 04 May 2005)
New Revision: 127
Modified:
branches/unionfs/TODO
branches/unionfs/packages/blfs-bootscripts/blfs-bootscripts-20050313-add-autosshd-1.patch
Log:
Fixed autosshd failure on shutdown
Modified: branches/unionfs/TODO
===================================================================
--- branches/unionfs/TODO 2005-05-04 12:44:06 UTC (rev 126)
+++ branches/unionfs/TODO 2005-05-04 12:46:46 UTC (rev 127)
@@ -11,7 +11,7 @@
* Decide upon the default timezone in the Makefile. GMT? (Fine with me - JH)
* Create .xinitrc file for root and choose default wm, probably xfce.
* Menus and background for xfce
-* Autosshd script fails on shutdown
+* Test functionality of autosshd script - does it start sshd server by default?
* Method for specifying an available swap partition on boot - swap=/dev/[xxx]
at command line?
* Should we use a wrapper script for xterm, or just fix ion and xfce to call
xterm with proper flags? (maybe edit /etc/X11/app-defaults/XTerm? - AP)
* Add some Greek TrueType fonts.
Modified:
branches/unionfs/packages/blfs-bootscripts/blfs-bootscripts-20050313-add-autosshd-1.patch
===================================================================
---
branches/unionfs/packages/blfs-bootscripts/blfs-bootscripts-20050313-add-autosshd-1.patch
2005-05-04 12:44:06 UTC (rev 126)
+++
branches/unionfs/packages/blfs-bootscripts/blfs-bootscripts-20050313-add-autosshd-1.patch
2005-05-04 12:46:46 UTC (rev 127)
@@ -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 1969-12-31
19:00:00.000000000 -0500
-+++ blfs-bootscripts-20050313/blfs/init.d/autosshd 2005-03-30
22:06:02.986977573 -0500
-@@ -0,0 +1,20 @@
+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 1969-12-31
19:00:00.000000000 -0500
++++ blfs-bootscripts-20050313/blfs/init.d/autosshd 2005-05-04
08:40:16.272095339 -0400
+@@ -0,0 +1,26 @@
+#!/bin/sh
+# Begin $rc_base/init.d/autosshd
+
@@ -15,16 +15,22 @@
+ /etc/rc.d/init.d/sshd start
+ fi
+ ;;
++ stop)
++ if statusproc /usr/sbin/sshd | grep -q "Process ID"
++ then
++ /etc/rc.d/init.d/sshd stop
++ fi
++ ;;
+ *)
-+ echo "Usage: $0 {start|stop|reload|restart|status}"
++ echo "Usage: $0 {start|stop}"
+ exit 1
+ ;;
+esac
+
+# End $rc_base/init.d/autosshd
-diff -Naur blfs-bootscripts-20050313.orig/Makefile
blfs-bootscripts-20050313/Makefile
---- blfs-bootscripts-20050313.orig/Makefile 2005-03-06 22:48:33.000000000
-0500
-+++ blfs-bootscripts-20050313/Makefile 2005-03-30 22:06:02.988977310 -0500
+diff -Naur blfs-bootscripts-20050313-ORIG/Makefile
blfs-bootscripts-20050313/Makefile
+--- blfs-bootscripts-20050313-ORIG/Makefile 2005-03-06 22:48:33.000000000
-0500
++++ blfs-bootscripts-20050313/Makefile 2005-05-04 08:30:23.535364221 -0400
@@ -54,6 +54,16 @@
install -m $(CONFMODE) blfs/sysconfig/autofs.conf $(EXTDIR)/sysconfig/
ln -sf ../init.d/autofs $(EXTDIR)/rc.d/rcsysinit.d/S45autofs
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page