summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-03-15 21:44:14 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-03-15 21:44:14 +0000
commite33bcdc3412d88a191192b82d29b72418c5255a5 (patch)
treebbc4feb6d728ad3ec8d6764a6789430ace02dd13 /sys-apps/baselayout/files/baselayout-1.12.0_alpha1-export-myservice-for-critical.patch
parentMoved net-www/skipstone to www-client/skipstone (diff)
downloadhistorical-e33bcdc3412d88a191192b82d29b72418c5255a5.tar.gz
historical-e33bcdc3412d88a191192b82d29b72418c5255a5.tar.bz2
historical-e33bcdc3412d88a191192b82d29b72418c5255a5.zip
Export myservice when starting critical services, as its needed by
some of the addons (dmcrypt for example). Also fixup find argument order for findutils-4.2.18+. Fix syntax touchups to init.d/modules clobbering return value. Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-apps/baselayout/files/baselayout-1.12.0_alpha1-export-myservice-for-critical.patch')
-rw-r--r--sys-apps/baselayout/files/baselayout-1.12.0_alpha1-export-myservice-for-critical.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/baselayout/files/baselayout-1.12.0_alpha1-export-myservice-for-critical.patch b/sys-apps/baselayout/files/baselayout-1.12.0_alpha1-export-myservice-for-critical.patch
new file mode 100644
index 000000000000..e7e39eca476b
--- /dev/null
+++ b/sys-apps/baselayout/files/baselayout-1.12.0_alpha1-export-myservice-for-critical.patch
@@ -0,0 +1,16 @@
+Index: sbin/rc
+===================================================================
+RCS file: /var/cvsroot/gentoo-src/rc-scripts/sbin/rc,v
+retrieving revision 1.114
+diff -u -r1.114 rc
+--- sbin/rc 11 Mar 2005 06:02:07 -0000 1.114
++++ sbin/rc 15 Mar 2005 20:59:22 -0000
+@@ -406,6 +406,8 @@
+ (
+ local retval=
+ local service=$1
++ # Needed for some addons like dm-crypt that starts in critical services
++ local myservice=$1
+
+ source "/etc/init.d/${service}" || eerror "Failed to source /etc/init.d/${service}"
+ retval=$?