diff options
| author | Roy Marples <roy@marples.name> | 2007-09-24 12:09:43 +0000 | 
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-09-24 12:09:43 +0000 | 
| commit | e95cea3d862f1bd41d74213ff2b4bbcd5f97afd0 (patch) | |
| tree | 7e3b497c455b247252beca25ba24c14c15c440b7 /sh | |
| parent | 71e0d9e37184a5993c8cc406f230c176f14e08fc (diff) | |
| download | openrc-e95cea3d862f1bd41d74213ff2b4bbcd5f97afd0.tar.xz | |
Split our rc commands out into general use vs service commands
Diffstat (limited to 'sh')
| -rwxr-xr-x | sh/rc-functions.sh | 6 | 
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 : | 
