From 7c8ed6054f56bf1454f7944c77a924142eca5db9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 3 Aug 2011 17:16:34 +0000 Subject: [PATCH] Manually set PATH. In scripts that are called by udev and stuff, there might be another PATH. --- functions | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions b/functions index b1836f82..e3d95fb4 100644 --- a/functions +++ b/functions @@ -1,5 +1,8 @@ #!/bin/bash +# Make sure, that sbins are in PATH. +export PATH="/usr/local/sbin:/usr/sbin:/sbin:/bin:/usr/bin" + INIT_FUNCTIONS="" function init_register() { -- 2.47.3