From: Michael Tremer Date: Wed, 3 Aug 2011 17:16:34 +0000 (+0000) Subject: Manually set PATH. X-Git-Tag: 002~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c8ed6054f56bf1454f7944c77a924142eca5db9;p=network.git Manually set PATH. In scripts that are called by udev and stuff, there might be another PATH. --- 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() {