[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] Init question
From:       "Vladimir N. Oleynik" <dzo () simtreas ! ru>
Date:       2002-06-26 6:14:03
[Download RAW message or body]

Michael,

> I want to temporarily disable mgetty (for
> example for sending init string to modem).
> 
> How can I do it ?
> I tried to comment strings that respawns mgetty in inittab
> and then send SIGHUP to init - it did no work.

Micro HOWTO:

to /etc/inittab

ttS1::respawn:/bin/sh /etc/modem.sh

to /etc/modems.sh

#!/bin/sh
#hostname pap-hostname
#pppd connect 'chat -v TIMEOUT 60 "" ATDP5555555 CONNECT ""' /dev/ttyS1 38400
defaultroute
#hostname router-hostname
sleep 1000


You can now change /etc/modems.sh in realtime (move '#') ;)


--w
vodz

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic