summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-16 17:50:16 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-16 17:50:16 +0000
commit88162487d03a1646b0c760b0525dbbb5c59d9585 (patch)
treef11d6fb61b1d342617478d92f91f54d7f08e258f /sys-apps/openrc
parentFix building with GCC 4.3 wrt #217851, thanks to Peter Alfredsen. (diff)
downloadgentoo-2-88162487d03a1646b0c760b0525dbbb5c59d9585.tar.gz
gentoo-2-88162487d03a1646b0c760b0525dbbb5c59d9585.tar.bz2
gentoo-2-88162487d03a1646b0c760b0525dbbb5c59d9585.zip
dont need softlevel() func anymore as we have rc_runlevel()
(Portage version: 2.2_pre5)
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r--sys-apps/openrc/files/9999/0002-useful-functions.patch7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys-apps/openrc/files/9999/0002-useful-functions.patch b/sys-apps/openrc/files/9999/0002-useful-functions.patch
index 345dbaad2852..91969a1c9aee 100644
--- a/sys-apps/openrc/files/9999/0002-useful-functions.patch
+++ b/sys-apps/openrc/files/9999/0002-useful-functions.patch
@@ -12,15 +12,10 @@ diff --git a/sh/functions.sh.in b/sh/functions.sh.in
index 1a1fbba..140f6dc 100644
--- a/sh/functions.sh.in
+++ b/sh/functions.sh.in
-@@ -38,6 +38,33 @@ yesno()
+@@ -38,6 +38,28 @@ yesno()
esac
}
-+softlevel()
-+{
-+ echo $(rc-status --runlevel)
-+}
-+
+get_bootparam()
+{
+ local match="$1"