bug-hurd
[Top][All Lists]
Advanced

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

rc.local, again


From: Alfred M. Szmidt
Subject: rc.local, again
Date: Mon, 04 Oct 2004 22:06:58 +0200

I sent the following patch some time ago (2004-02), Marcus raised some
doubts[0] about if it should go in or not.

His doubts are indeed valid, but I still see no harm in having this
patch commited anyway.  The day before we ditch /libexec/rc, if we
even will do that is highly questionable, is far far away.

One shouldn't put of bug fixes for something that will/might come in
the future, and this is indeed a bug fix.


2004-02-27  Alfred M. Szmidt  <ams@kemisten.nu>

        * rc.sh: Run /libexec/rc.local, if it exists.

Index: daemons/rc.sh
===================================================================
RCS file: /cvsroot/hurd/hurd/daemons/rc.sh,v
retrieving revision 1.23
diff -u -r1.23 rc.sh
--- daemons/rc.sh       8 Jun 2001 22:07:18 -0000       1.23
+++ daemons/rc.sh       27 Feb 2004 16:42:21 -0000
@@ -115,4 +115,9 @@
 
 echo .
 
+echo running local commands...
+if [ -r /libexec/rc.local ]; then
+  source /libexec/rc.local
+fi
+
 date





reply via email to

[Prev in Thread] Current Thread [Next in Thread]