diff options
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r-- | sys-apps/openrc/files/9999/0002-useful-functions.patch | 7 |
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" |