aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-09-24 12:09:43 +0000
committerRoy Marples <roy@marples.name>2007-09-24 12:09:43 +0000
commite95cea3d862f1bd41d74213ff2b4bbcd5f97afd0 (patch)
tree7e3b497c455b247252beca25ba24c14c15c440b7 /sh
parent71e0d9e37184a5993c8cc406f230c176f14e08fc (diff)
Split our rc commands out into general use vs service commands
Diffstat (limited to 'sh')
-rwxr-xr-xsh/rc-functions.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/sh/rc-functions.sh b/sh/rc-functions.sh
index 79f479fc..0e149432 100755
--- a/sh/rc-functions.sh
+++ b/sh/rc-functions.sh
@@ -59,4 +59,10 @@ get_bootparam() {
return 1
}
+# Add our sbin to $PATH
+case "${PATH}" in
+ /lib/rc/sbin|/lib/rc/sbin:*) ;;
+ *) export PATH="/lib/rc/sbin:${PATH}" ;;
+esac
+
# vim: set ts=4 :