Sorry for the delay. I had to do a little reading on how to create a
'git format-patch' patch. Here are the steps I took:
- Made Changes
- git commit -a
- git format-patch -1
Can you verify that this procedure is correct and that the patch is in
the format you need?
Thanks,
David
On 9/28/12, Jon Trulson <[email protected]> wrote:
> On Fri, 28 Sep 2012, David McBrayer wrote:
>
>> I have updated README.dtlogin to include the installation instructions
>> for the LSB init script. The README previously pointed to the wiki to
>> use the old instructions. The online wiki still needs to be updated as
>> the current (old) instructions will cause the system to hang on a
>> runlevel change (shutdown/reboot) as the system is given no
>> instructions on how to handle such events.
>>
>> David
>>
>
> Hi, could you resend this in git format-patch format? It saves me a
> lot of time as it does the patch, and commit all in one step.
>
> Guess I should put up a wiki page or something on submitting patches.
>
> --
> Jon Trulson
>
> The Higgs Field is what make atoms matter.
> -- Tom L.
>
>
>
From 11c2153287386b85c69d1c17d7841e84fabfd0ed Mon Sep 17 00:00:00 2001
From: David J.McBrayer <[email protected]>
Date: Mon, 1 Oct 2012 12:29:20 -0400
Subject: [PATCH] -Updated README.dtlogin
-Update "# Provides:" in dtlogin LSB init script
---
cde/contrib/rc/linux/README.dtlogin | 26 +++++++++++++++-----------
cde/contrib/rc/linux/dtlogin | 2 +-
2 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/cde/contrib/rc/linux/README.dtlogin b/cde/contrib/rc/linux/README.dtlogin
index 7935855..682e1c0 100644
--- a/cde/contrib/rc/linux/README.dtlogin
+++ b/cde/contrib/rc/linux/README.dtlogin
@@ -1,19 +1,23 @@
-I have attached an LSB-compliant init script for dtlogin as an update to
-the current wiki. All instructions currently on the wiki should be left.
-This only replaces the script contents. This allows dtlogin to be
-controlled using either of the following syntax:
+Attached is an LSB-compliant init script for dtlogin. This allows dtlogin
+to be controlled using either of the following syntax:
/etc/init.d/dtlogin start | stop | restart | status
service dtlogin start | stop | restart | status
-With the old script, dtlogin would be restarted on shutdown which resulted
-in the system hanging. This script allows CDE to be properly shutdown on
-halt or restarts.
+This script also allows CDE to be properly handled on runlevel changes.
+
+***SCRIPT INSTALL INSTRUCTIONS:***
+1. Copy "dtlogin" script from this directory to /etc/init.d/
+2. chmod 755 /etc/init.d/dtlogin
+3. update-rc.d dtlogin defaults
+4. Restart
+
+dtlogin should now start on boot and correctly exit on shutdown/restart.
+
+Tested on Debian Squeeze & Ubuntu 12.04, but should work on any LSB-compliant
+distro.
+
-If anyone can improve/change/enhance this script, please feel free. This is
-just my attempt at getting a working version so my system doesn't hang.
-Also, note that there is no #!/bin/sh at the start of the file. It is not
-necessary and will cause the script not to work properly.
David McBrayer <[email protected]>
diff --git a/cde/contrib/rc/linux/dtlogin b/cde/contrib/rc/linux/dtlogin
index 71809c4..3a04ab5 100644
--- a/cde/contrib/rc/linux/dtlogin
+++ b/cde/contrib/rc/linux/dtlogin
@@ -1,5 +1,5 @@
### BEGIN INIT INFO
-# Provides:
+# Provides: lsb-dtlogin
# Required-Start: $all
# Required-Stop:
# Default-Start: 2 3 4 5
--
1.7.2.5
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
cdesktopenv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel