diff options
Diffstat (limited to 'sh/rc-functions.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 : |