[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
/libexec/rc.local...
From: |
Alfred M. Szmidt |
Subject: |
/libexec/rc.local... |
Date: |
Fri, 27 Feb 2004 17:47:32 +0100 (MET) |
Hey,
I made this hack so one can install the Hurd without getting screwed
over by /libexec/rc getting overwritten. Now instead of tweaking
/libexec/rc, users can tweak /libexec/rc.local, and still be safe from
a overwritten /libexec/rc.
Cheers.
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 -n running local commands...
+if [ -r /libexec/rc.local ]; then
+ source /libexec/rc.local
+fi
+
date
- /libexec/rc.local...,
Alfred M. Szmidt <=