Re: Bootscripts rewrite - redefining variables

2011-09-06 Thread Bryan Kadzban
(Splitting this off as well.) DJ Lucas wrote: > On 09/05/2011 07:48 PM, Bruce Dubbs wrote: >> DJ Lucas wrote: >>> There is no reason to redefine 35+ values every time a new script >>> is run. Once per runlevel change in rc is sufficient. One >>> conditional around the source line in each script, o

Re: Bootscripts rewrite - writing/logging messages

2011-09-06 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On Sep 6, 2011, at 1:42 PM, Bruce Dubbs wrote: >> Comments? > > Test and use the LSB scripts. There's no reason to duplicate all this > effort in the current scripts. I did. I just pointed out that echo in a script is not logged. The logging in general can be improved.

Re: Bootscripts rewrite - writing/logging messages

2011-09-06 Thread Jeremy Huntwork
On Sep 6, 2011, at 1:42 PM, Bruce Dubbs wrote: > Comments? Test and use the LSB scripts. There's no reason to duplicate all this effort in the current scripts. JH -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above informa

Re: Bootscripts rewrite - writing/logging messages

2011-09-06 Thread Bruce Dubbs
DJ Lucas wrote: > On 09/05/2011 07:48 PM, Bruce Dubbs wrote: >> DJ Lucas wrote: >>> Get rid of boot_mesg all together. This was left over from a mixed >>> results attempt at international messages and long display output >>> (and line wrapping). As James mentioned the other day, it has long >>> si

Re: The "write" of util-linux-2.20 not work.

2011-09-06 Thread Ilya Kaliman
On Tue, Sep 6, 2011 at 8:13 PM, Andrew Benton wrote: > On Tue, 6 Sep 2011 19:58:16 +0800 > xinglp wrote: > >> try 'write andy' > > andy:~$ write andy > write: andy is not logged in > andy:~$ > > That's if I do it in a roxterm window. If I close xorg and work at the > login prompt it says: > > and

Re: The "write" of util-linux-2.20 not work.

2011-09-06 Thread Andrew Benton
On Tue, 6 Sep 2011 19:58:16 +0800 xinglp wrote: > try 'write andy' andy:~$ write andy write: andy is not logged in andy:~$ That's if I do it in a roxterm window. If I close xorg and work at the login prompt it says: andy:~$ write andy write: you have write permission turned off andy:~$ I sh

Re: The "write" of util-linux-2.20 not work.

2011-09-06 Thread Andrew Benton
On Tue, 6 Sep 2011 19:58:16 +0800 xinglp wrote: > try 'write andy' andy:~$ write andy write: andy is not logged in andy:~$ -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: The "write" of util-linux-2.20 not work.

2011-09-06 Thread xinglp
2011/9/6 Andrew Benton : > On Tue, 6 Sep 2011 08:59:01 +0800 > xinglp wrote: > >> it just prints >> write: : No such file or directory >> >> util-linux-2.19.1 works well >> -- > > andy:~$ write > > Usage: >  write [options] [] > > Options: >  -V, --version    output version information and exit >

Re: The "write" of util-linux-2.20 not work.

2011-09-06 Thread Andrew Benton
On Tue, 6 Sep 2011 08:59:01 +0800 xinglp wrote: > it just prints > write: : No such file or directory > > util-linux-2.19.1 works well > -- andy:~$ write Usage: write [options] [] Options: -V, --versionoutput version information and exit -h, --help display this help and exit a