Mailinglist Archive: opensuse (1503 mails)

< Previous Next >
Re: [opensuse] Boot Script
  • From: Manfred Hollstein <manfred@xxxxxxxxxxxxxxxxx>
  • Date: Thu, 1 Oct 2009 16:42:07 +0200
  • Message-id: <20091001144207.GR16463@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Hi Wong,

On Thu, 01 Oct 2009, 16:23:25 +0200, Wong wrote:
On Thu, 01 Oct 2009, 13:41:29 +0200, Wong wrote:
[...]
Here is my boot.local scripts

#! /bin/sh
#

You could add here:

set -x
export LANG=POSIX
export LC_ALL=POSIX

Manfred,

I check my kernel setting, and found that option POSIX Message Queues set
to
disable. Now, I am recompiling kernel with POSIX Message Queues set to
enable.

Need sometime to complete and see the result.

but the POSIX Message Queues setting has nothing to do with the
LANG/LC_ALL setting above. BTW, my kernel has CONFIG_POSIX_MQUEUE set to
'y', so which distribution version/kernel version are you using?

Yes Manfred, you are correct.

After re-compile kernel I got same result. All scripts that use $EXT_IP and
$INT_IP cannot run (start to confuse).

now you start to confuse me... ;-) What happens if you call

/etc/init.d/boot.local

Is that script executable?

I also already put the lines:

#! /bin/sh
set -x
export LANG=POSIX
export LC_ALL=POSIX

before all of scripts, but no success.

I am using 2.6.31.1 with modified kernel setting (I use my own style)

Do you have any ideas about LANG/LC_ALL?

This is just a way to avoid having to parse all those local languages
which are printed with LANG/LC_ALL set to anything else C/POSIX/en_US,
like:

env LANG=de_DE LC_ALL=de_DE /sbin/ifconfig eth0
eth0 Link encap:Ethernet Hardware Adresse XX:XX:XX:XX:XX:XX
inet Adresse:192.168.x.y Bcast:192.168.x.255 Maske:255.255.255.0
inet6 Adresse: ...

Thanks

Wong

HTH, cheers.

l8er
manfred
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups