[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Have `rc' and `runsystem' use /bin/sh
From: |
Ludovic Courtès |
Subject: |
[PATCH] Have `rc' and `runsystem' use /bin/sh |
Date: |
Mon, 07 Nov 2011 22:43:22 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) |
Hello,
These two scripts really need a plain POSIX shell, not necessarily
Bash. This patch changes the shebang accordingly.
(Tested with Bash 4.1 run as /bin/sh.)
OK?
Ludo’.
diff --git a/daemons/rc.sh b/daemons/rc.sh
index 5778094..e9f7fca 100644
--- a/daemons/rc.sh
+++ b/daemons/rc.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
PATH=/bin:/sbin
diff --git a/daemons/runsystem.sh b/daemons/runsystem.sh
index c3cb2d6..74ebcd2 100644
--- a/daemons/runsystem.sh
+++ b/daemons/runsystem.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# This program is run by /hurd/init at boot time after the essential
# servers are up, and is responsible for running the "userland" parts of a
- [PATCH] Have `rc' and `runsystem' use /bin/sh,
Ludovic Courtès <=