Package: hurd
Version: cvs 2004-01-25
Tags: patch
Severity: wishlist

Hi,

When using the Hurd without a /usr symlink the scripts runsystem and
rc located in /libexec does not work because they don't have the /usr
binary paths. Here's a patch that fixes this.

regards,
guillem
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       25 Jan 2004 08:20:58 -0000
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-PATH=/bin:/sbin
+PATH=/bin:/sbin:/usr/bin:/usr/sbin
 
 # Start the default pager.  It will bail if there is already one running.
 /hurd/mach-defpager
Index: daemons/runsystem.sh
===================================================================
RCS file: /cvsroot/hurd/hurd/daemons/runsystem.sh,v
retrieving revision 1.3
diff -u -r1.3 runsystem.sh
--- daemons/runsystem.sh        20 Dec 2001 17:29:33 -0000      1.3
+++ daemons/runsystem.sh        25 Jan 2004 08:20:58 -0000
@@ -11,7 +11,7 @@
 ### Where to find programs, etc.
 ###
 
-PATH=/bin:/sbin
+PATH=/bin:/sbin:/usr/bin:/usr/sbin
 export PATH
 
 # If we lose badly, try to exec each of these in turn.
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to