From e95cea3d862f1bd41d74213ff2b4bbcd5f97afd0 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 24 Sep 2007 12:09:43 +0000 Subject: Split our rc commands out into general use vs service commands --- sh/rc-functions.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sh') 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 : -- cgit v1.2.3