macos script

hobbes hobbes444 at gmail.com
Tue Nov 3 14:53:29 UTC 2009


Well, my PATH variable in bash in correct. "which ifconfig" returns me
/sbin/ifconfig. So I got no Idea why the script isn't able to find
ifconfig...

On Tue, Nov 3, 2009 at 15:28, Glenn Satchell <Glenn.Satchell at uniq.com.au> wrote:
> Hmm, perhaps setting the PATH might have been easier? Something like:
>
> PATH=/sbin:/bin:/usr/bin:/usr/sbin
>
> plus any others that might be used?
>
> regards,
> -glenn
>
>>From: hobbes <hobbes444 at gmail.com>
>>Date: Tue, 3 Nov 2009 15:25:09 +0100
>>
>>Solved the problem using the brutal way: I replaced all occurences of
>>"ifconfig" with "/sbin/ifconfig"...
>>
>>On Tue, Nov 3, 2009 at 10:52, hobbes <hobbes444 at gmail.com> wrote:
>>> My OS X pltaform has /bin/sh, which is also the first line of the
>>> macos script, and still the ifconfig is not found. I tried to put
>>> /bin/bash instead, it also didn't work... ifconfig is still not found.
>>>
>>> On Mon, Nov 2, 2009 at 21:52, Jeremy C. Reed <jreed at isc.org> wrote:
>>>> On Mon, 2 Nov 2009, Daniel Le wrote:
>>>>
>>>>> execve (/sbin/dhclient-script, ...): No such file or directory
>>>>
>>>> Make sure the interpreter (/bin/bash) in the first line of the script
>>>> exists.
>>>> _______________________________________________
>>>> dhcp-users mailing list
>>>> dhcp-users at lists.isc.org
>>>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>>>
>>>
>>_______________________________________________
>>dhcp-users mailing list
>>dhcp-users at lists.isc.org
>>https://lists.isc.org/mailman/listinfo/dhcp-users
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>



More information about the dhcp-users mailing list