aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rw-r--r--sh/functions.sh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/sh/functions.sh.in b/sh/functions.sh.in
index 25462331..57917ed3 100644
--- a/sh/functions.sh.in
+++ b/sh/functions.sh.in
@@ -38,6 +38,10 @@ yesno()
esac
}
+rc_runlevel() {
+ rc-status --runlevel
+}
+
_sanitize_path()
{
local IFS=":" p= path=