NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: powerd script failure



At Wed, 14 Mar 2012 00:08:05 +0900 (JST),
fukumoto%imasy.or.jp@localhost wrote:
> I found /etc/rc.d/networks is failing after this line:
>               echo -n 'Configuring network interfaces:'
> In fact, the script exits with exit code 141 upon any use of "echo -n"
> in the script.  Simple "echo" doesn't have problem, but "echo -n"
> fails.  And if I replace "echo -n" with "/bin/echo -n", script works
> without problem.

That sounds like the script is being executed under a
different-than-normal shell, one whose echo built-in behaves oddly.
What does
  echo $0
say in the working and non-working cases?  Also,
what shells do you have installed?

-- IDL


Home | Main Index | Thread Index | Old Index