Interactive starting

Chuang Wu chuangwoo at gmail.com
Sat May 13 15:16:17 UTC 2006


Hi There,

How can I interact with the system when starting - i.e. choose which
init.dscript to start or not.

I put my own script into rc2.d, the system halts at my script when starting.
I cannot login =(

I also post my script below: ( it works before I put it into rc2.d)

> /etc/rs2.d/S99myownscript
#!/bin/sh
SCRIPT=/myownscript
[ -f $SCRIPT ] && python $SCRIPT

> the python SCRIPT
#!/bin/env python
import os
a = os.popen('iwlist ath0 scan').readlines()
...
...
END

The error message is  'ath0 doesnt not support scan, network is down' =(

Thanks,
CC



On 5/13/06, ubuntu-users-request at lists.ubuntu.com <
ubuntu-users-request at lists.ubuntu.com> wrote:
>
> Send ubuntu-users mailing list submissions to
>         ubuntu-users at lists.ubuntu.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> or, via email, send a message with subject or body 'help' to
>         ubuntu-users-request at lists.ubuntu.com
>
> You can reach the person managing the list at
>         ubuntu-users-owner at lists.ubuntu.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ubuntu-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Google Video (Senectus .)
>    2. Re: Compress an avi file? (Joel Bryan T. Juliano)
>    3. Re: cannot get USB scanner detected - dapper beta (Paul Trevethan)
>    4. Re: Alternative to LaTeX? (Christoph Bier)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 13 May 2006 17:20:39 +0800
> From: "Senectus ." <senectus at gmail.com>
> Subject: Re: Google Video
> To: "Ubuntu Help and User Discussions" <ubuntu-users at lists.ubuntu.com>
> Message-ID:
>         <d12e5c90605130220p56f179b8pea9c10b555d6c606 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 5/13/06, Rajiv Vyas <rajiv1 at gmail.com> wrote:
> > Is there a way to run Google Video on Ubuntu. I've VLC installed and
> > when I try and play a Google Video it plays for a second or so.
> >
> Google video web site seems to play "flash video" so I suspect you'll
> need one of the flash players.
> I have it working on my laptop (not sure _how_ I got it working) but
> not on my desktop..
>
>
> --
> www.modmeup.net
> Ubuntu Dapper 6.06
> The less you know, the more you believe. - Bono
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 13 May 2006 17:33:27 +0800
> From: "Joel Bryan T. Juliano" <joelbryan.juliano at gmail.com>
> Subject: Re: Compress an avi file?
> To: Ubuntu Help and User Discussions <ubuntu-users at lists.ubuntu.com>
> Message-ID: <1147512807.5168.12.camel at localhost>
> Content-Type: text/plain; charset="us-ascii"
>
> On Sat, 2006-05-13 at 10:05 +0200, Nik wrote:
> > In article <b43bf2080605122109x7bc29981y625366758d131fde at mail.gmail.com
> >,
> >    Sebastian Bassi <sbassi at gmail.com> wrote:
> > > I have a big avi file (2.8Gb) I'd like to upload to Google Video. I
> > > have memcoder and a lot of video player programs installed in Ubuntu,
> > > but I dont know how to encode it to make it smallers, like 600 or 700
> > > Mb. It is a 1 hour 45 minutes video.
> >
> > I think you could probably re-encode using mencoder.  DVDRip uses this
> (I
> > think) to make vcds - ie a whole film on one or more cds, exactly what
> you
> > want.
> >
> > Nik
> >
> >
>
> Have you tried converting your AVI file to OGG Theora?
> Ogg Theora can make the filesize much smaller, and can make your video
> quality good.
>
> My testcase is a 300x200 mpg file, which is pixelized when I fullscreen
> it, but when I convert it to OGG Theora, I can't barely see any box
> pixels.
>
> And you don't need any codecs to install to play it, because it's a
> default install in Ubuntu.
>
> Download ffmpeg2theora from http://v2v.cc/~j/ffmpeg2theora/ and convert
> your avi file by running # ffmpeg2theora ./file.avi
>
> --
> Joel Bryan T. Juliano <joelbryan.juliano at gmail.com>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 191 bytes
> Desc: This is a digitally signed message part
> Url :
> https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060513/73b18ed1/attachment-0001.pgp
>
> ------------------------------
>
> Message: 3
> Date: Sat, 13 May 2006 19:42:47 +1000
> From: Paul Trevethan <plist at internode.on.net>
> Subject: Re: cannot get USB scanner detected - dapper beta
> To: ubuntu-users at lists.ubuntu.com
> Message-ID: <20060513194247.6a29e273 at localhost>
> Content-Type: text/plain; charset=US-ASCII
>
> On Sat, 13 May 2006 10:03:00 +0200
> Nik <nik at cheddarcheese.de> wrote:
>
> > In article <20060513160538.3aa0bc5f at localhost>,
> >    Paul Trevethan <plist at internode.on.net> wrote:
> > > Hi,
> > > Hoping someone can guide me here? I have a HP 6200c usb scanner
> > > attached to my machine that runs fully up-to-date dapper beta.
> >
> > > Ever since the installation of dapper flight 6 (as a fresh
> > > install), I have not been able to get the scanner detected at all.
> > > I mean "scanimage -L" and "sane-find-scanner" both show nothing
> > > detected. The device itself is not detected, which to me indicates
> > > something amiss with my usb setup?
> >
> > Can you see it using "usbview"?
> >
> > Nik
> >
> >
> No nick I cannot. It only shows 4xuhci and 1xehci controllers?
> As I say, it seems to be a usb detection problem, not just a scanner
> issue. I don't have any other usb devices to plug in to try.
>
> Cheers,
> Paul.
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 13 May 2006 12:44:00 +0200
> From: Christoph Bier <christoph.bier at web.de>
> Subject: Re: Alternative to LaTeX?
> To: ubuntu-users at lists.ubuntu.com
> Message-ID: <e44d95$s9c$1 at sea.gmane.org>
> Content-Type: text/plain; charset=us-ascii
>
> Sean Hammond schrieb am 12.05.2006 18:19:
>
> > Are you sure that would be in an introductory book about LaTeX?
>
> Yes, if it's a good one ;-). Unfortunately I don't know good english
> literature for LaTeX except "The LaTeX Companion" (de facto standard
> documentation) which has about 1200 pages. Recommendable!
>
> Have a look at comp.text.tex.
>
> > I have read The Not So Short Introduction To LaTeX, and I really know
> > the basics of LaTeX quite well, but it doesn't cover anything useful
> > about colours or styles and I haven't been able to find anything great
> > online.
>
> $ texdoc color
>
> or
>
> $ texdoc xcolor
>
> > This koma class looks nice and it seems its provided in tetex on
> > ubuntu by default,
>
> Yes, it is, but I guess it's not up-to-date. v2.9u is the recent
> one. Be careful with teTeX in Dapper. Hyphenation is broken:
> https://launchpad.net/distros/ubuntu/+source/tetex-bin/+bug/36145
>
> > and indeed the command you provided works and my
> > document looks quite nice now (thanks).
>
> Fine :-).
>
> > But there doesn't seem to be
> > much in the way of english documentation for the koma class, and
> > googling for that \addtokomafont command (I'd like to see what other
> > parameters it can take) turned up nothing either.
>
> $ texdoc scrguien
>
> This works for (nearly) every package: texdoc <package>. It's not
> true for graphic{s|x} (-> texdoc grfguide), hyperref (-> texdoc
> manual) and maybe some other. All documentation is located in
> texmf/doc/latex. This tree can be found in your $HOME,
> /usr/local/share or /usr/share/.
>
> $ texdoc TETEXDOC # teTeX documentation
>
> > Is \addtofont a general LaTeX thing or something added by koma?
>
> KOMA-Script
>
> Best,
>   Christoph
> --
> +++ Typografie-Regeln: http://www.zvisionwelt.de/typokurz.pdf (1.4)
>
>
>
>
> ------------------------------
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
> End of ubuntu-users Digest, Vol 21, Issue 176
> *********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060513/337dcfe8/attachment.html>


More information about the ubuntu-users mailing list