aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-04-08 16:01:40 +0000
committerRoy Marples <roy@marples.name>2008-04-08 16:01:40 +0000
commit034b9b7a12228bfa9171aae2b578c649ff1de54e (patch)
tree1159adc0d4e35b660ff71414188a062f396a0e69 /sh
parente82435c2f42955d9e78bbf307b2700636d6abcd7 (diff)
Add a silly rc_runlevel function to appease SpanKY :)
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=