* RE: Configure serial port console
@ 2000-09-22 20:46 Vanco, Donald
2000-09-22 23:28 ` Seth D. Alford
2000-09-23 13:09 ` Rich Payne
0 siblings, 2 replies; 10+ messages in thread
From: Vanco, Donald @ 2000-09-22 20:46 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Rich -
We chatted about this a few months back - any luck with a serial
install yet?
Don
> -----Original Message-----
> From: Rich Payne [mailto:rdp@talisman.alphalinux.org]
> Sent: Friday, September 22, 2000 2:36 PM
> To: axp-list@redhat.com
> Subject: Re: Configure serial port console
>
>
>
> Do a:
> set console serial
> in SRM, that pushs SRM to the serial console
>
> then, when you boot a kernel add 'console=ttyS0' to the kernel command
> line.
>
> You'll also need to edit /etc/inittab to spawn a getty on the
> serial line,
> something like:
> S1:2345:respawn:/sbin/mingetty ttyS0
>
> --rdp
>
>
> On Fri, 22 Sep 2000, Richard June wrote:
>
> > I'm not too sure about axp, but in the intel world there's
> a kernel option
> > to make the console serial, then you run mgetty on the
> serial port. this
> > command should do it.
> > mgetty -D ttyS0 -s 9600 -r -p Login: -x 0
> >
> > On Fri, 22 Sep 2000 AWM@inel.gov wrote:
> >
> > > I am configuring 15 Personal Work Station 500a's as a
> Beowulf Cluster. I
> > > am not new to Linux but am not what you would call an
> expert by any means.
> > > I wonder if someone could give me some information on
> where I can find how
> > > to configure these machines so the console is on a serial
> port, as they
> > > need to boot without a graphics monitor. (Some direction
> to information
> > > describing Beowulf Clusters would be welcomed and
> appreciated also.)
> > > Thanks!
> > > -Alan
> > >
> > >
> > >
> > > _______________________________________________
> > > Axp-list mailing list
> > > Axp-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/axp-list
> > >
> >
> >
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
> >
>
> --
> Rich Payne
> rpayne@alphalinux.org www.alphalinux.org
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Configure serial port console 2000-09-22 20:46 Configure serial port console Vanco, Donald @ 2000-09-22 23:28 ` Seth D. Alford 2000-09-23 13:19 ` Rich Payne 2000-09-23 13:09 ` Rich Payne 1 sibling, 1 reply; 10+ messages in thread From: Seth D. Alford @ 2000-09-22 23:28 UTC (permalink / raw) To: axp-list; +Cc: Seth D. Alford In addition to what everyone else said, I also found that I needed aboot 0.7 to boot with a serial console. What's aboot? The boot loader. Intel machines use lilo to boot Linux. Alpha machines use aboot to boot Linux. I have not been able to get aboot 0.5 to boot with a serial console. I may not have configured aboot correctly, or firmware or something else in my hardware may be out of date. This happened to me with a Corelle and a 1000A. Typically, with a serial console, aboot 0.5 would output something like: jumping to bootstrap code a I think that "a" is the "a" in "aboot." Have others seen the same thing? --Seth Alford setha@plaza.ds.adp.com On Fri, Sep 22, 2000 at 04:46:05PM -0400, Vanco, Donald wrote: > Rich - > We chatted about this a few months back - any luck with a serial > install yet? > > Don > > > -----Original Message----- > > From: Rich Payne [mailto:rdp@talisman.alphalinux.org] > > Sent: Friday, September 22, 2000 2:36 PM > > To: axp-list@redhat.com > > Subject: Re: Configure serial port console > > > > > > > > Do a: > > set console serial > > in SRM, that pushs SRM to the serial console > > > > then, when you boot a kernel add 'console=ttyS0' to the kernel command > > line. > > > > You'll also need to edit /etc/inittab to spawn a getty on the > > serial line, > > something like: > > S1:2345:respawn:/sbin/mingetty ttyS0 > > > > --rdp > > > > > > On Fri, 22 Sep 2000, Richard June wrote: > > > > > I'm not too sure about axp, but in the intel world there's > > a kernel option > > > to make the console serial, then you run mgetty on the > > serial port. this > > > command should do it. > > > mgetty -D ttyS0 -s 9600 -r -p Login: -x 0 > > > > > > On Fri, 22 Sep 2000 AWM@inel.gov wrote: > > > > > > > I am configuring 15 Personal Work Station 500a's as a > > Beowulf Cluster. I > > > > am not new to Linux but am not what you would call an > > expert by any means. > > > > I wonder if someone could give me some information on > > where I can find how > > > > to configure these machines so the console is on a serial > > port, as they > > > > need to boot without a graphics monitor. (Some direction > > to information > > > > describing Beowulf Clusters would be welcomed and > > appreciated also.) > > > > Thanks! > > > > -Alan > > > > > > > > > > > > > > > > _______________________________________________ > > > > Axp-list mailing list > > > > Axp-list@redhat.com > > > > https://listman.redhat.com/mailman/listinfo/axp-list > > > > > > > > > > > > > > > > _______________________________________________ > > > Axp-list mailing list > > > Axp-list@redhat.com > > > https://listman.redhat.com/mailman/listinfo/axp-list > > > > > > > -- > > Rich Payne > > rpayne@alphalinux.org www.alphalinux.org > > > > > > > > _______________________________________________ > > Axp-list mailing list > > Axp-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/axp-list > > > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Configure serial port console 2000-09-22 23:28 ` Seth D. Alford @ 2000-09-23 13:19 ` Rich Payne 2000-09-25 19:45 ` Seth D. Alford 0 siblings, 1 reply; 10+ messages in thread From: Rich Payne @ 2000-09-23 13:19 UTC (permalink / raw) To: axp-list; +Cc: Seth D. Alford On Fri, 22 Sep 2000, Seth D. Alford wrote: > In addition to what everyone else said, I also found that I needed aboot 0.7 > to boot with a serial console. Hmmm....I've used aboot 0.5 for serial booting before, no problems. > What's aboot? The boot loader. Intel machines use lilo to boot Linux. Alpha > machines use aboot to boot Linux. > > I have not been able to get aboot 0.5 to boot with a serial console. I may not > have configured aboot correctly, or firmware or something else in my hardware > may be out of date. This happened to me with a Corelle and a 1000A. > Typically, with a serial console, aboot 0.5 would output something like: > > jumping to bootstrap code > a Which serial port were you connected to? If I remember correctly is MUST be ttyS0 (aka: the first port). --rdp -- Rich Payne rpayne@alphalinux.org www.alphalinux.org ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Configure serial port console 2000-09-23 13:19 ` Rich Payne @ 2000-09-25 19:45 ` Seth D. Alford 0 siblings, 0 replies; 10+ messages in thread From: Seth D. Alford @ 2000-09-25 19:45 UTC (permalink / raw) To: Rich Payne; +Cc: axp-list On Sat, Sep 23, 2000 at 09:19:04AM -0400, Rich Payne wrote: .... > > have configured aboot correctly, or firmware or something else in my hardware > > may be out of date. This happened to me with a Corelle and a 1000A. > > Typically, with a serial console, aboot 0.5 would output something like: > > > > jumping to bootstrap code > > a > > Which serial port were you connected to? If I remember correctly is MUST > be ttyS0 (aka: the first port). > > --rdp > > -- > Rich Payne > rpayne@alphalinux.org www.alphalinux.org > ttyS0 --Seth setha@plaza.ds.adp.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: Configure serial port console 2000-09-22 20:46 Configure serial port console Vanco, Donald 2000-09-22 23:28 ` Seth D. Alford @ 2000-09-23 13:09 ` Rich Payne 1 sibling, 0 replies; 10+ messages in thread From: Rich Payne @ 2000-09-23 13:09 UTC (permalink / raw) To: 'axp-list@redhat.com' Yes, it does work with RedHat 6.2, the only catch is that on reboot you can't login :) So you either go in through the network or just boot into single user mode to add the /etc/inittab line. --rdp On Fri, 22 Sep 2000, Vanco, Donald wrote: > Rich - > We chatted about this a few months back - any luck with a serial > install yet? > > Don > > > -----Original Message----- > > From: Rich Payne [mailto:rdp@talisman.alphalinux.org] > > Sent: Friday, September 22, 2000 2:36 PM > > To: axp-list@redhat.com > > Subject: Re: Configure serial port console > > > > > > > > Do a: > > set console serial > > in SRM, that pushs SRM to the serial console > > > > then, when you boot a kernel add 'console=ttyS0' to the kernel command > > line. > > > > You'll also need to edit /etc/inittab to spawn a getty on the > > serial line, > > something like: > > S1:2345:respawn:/sbin/mingetty ttyS0 > > > > --rdp > > > > > > On Fri, 22 Sep 2000, Richard June wrote: > > > > > I'm not too sure about axp, but in the intel world there's > > a kernel option > > > to make the console serial, then you run mgetty on the > > serial port. this > > > command should do it. > > > mgetty -D ttyS0 -s 9600 -r -p Login: -x 0 > > > > > > On Fri, 22 Sep 2000 AWM@inel.gov wrote: > > > > > > > I am configuring 15 Personal Work Station 500a's as a > > Beowulf Cluster. I > > > > am not new to Linux but am not what you would call an > > expert by any means. > > > > I wonder if someone could give me some information on > > where I can find how > > > > to configure these machines so the console is on a serial > > port, as they > > > > need to boot without a graphics monitor. (Some direction > > to information > > > > describing Beowulf Clusters would be welcomed and > > appreciated also.) > > > > Thanks! > > > > -Alan > > > > > > > > > > > > > > > > _______________________________________________ > > > > Axp-list mailing list > > > > Axp-list@redhat.com > > > > https://listman.redhat.com/mailman/listinfo/axp-list > > > > > > > > > > > > > > > > _______________________________________________ > > > Axp-list mailing list > > > Axp-list@redhat.com > > > https://listman.redhat.com/mailman/listinfo/axp-list > > > > > > > -- > > Rich Payne > > rpayne@alphalinux.org www.alphalinux.org > > > > > > > > _______________________________________________ > > Axp-list mailing list > > Axp-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/axp-list > > > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list > -- Rich Payne rpayne@alphalinux.org www.alphalinux.org ^ permalink raw reply [flat|nested] 10+ messages in thread
* Configure serial port console
@ 2000-09-22 18:09 AWM
2000-09-22 18:30 ` Richard June
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: AWM @ 2000-09-22 18:09 UTC (permalink / raw)
To: axp-list
I am configuring 15 Personal Work Station 500a's as a Beowulf Cluster. I
am not new to Linux but am not what you would call an expert by any means.
I wonder if someone could give me some information on where I can find how
to configure these machines so the console is on a serial port, as they
need to boot without a graphics monitor. (Some direction to information
describing Beowulf Clusters would be welcomed and appreciated also.)
Thanks!
-Alan
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Configure serial port console 2000-09-22 18:09 AWM @ 2000-09-22 18:30 ` Richard June 2000-09-22 18:35 ` Rich Payne 2000-09-22 19:51 ` Alvin Starr 2000-09-22 20:09 ` Kevin Wood 2 siblings, 1 reply; 10+ messages in thread From: Richard June @ 2000-09-22 18:30 UTC (permalink / raw) To: axp-list I'm not too sure about axp, but in the intel world there's a kernel option to make the console serial, then you run mgetty on the serial port. this command should do it. mgetty -D ttyS0 -s 9600 -r -p Login: -x 0 On Fri, 22 Sep 2000 AWM@inel.gov wrote: > I am configuring 15 Personal Work Station 500a's as a Beowulf Cluster. I > am not new to Linux but am not what you would call an expert by any means. > I wonder if someone could give me some information on where I can find how > to configure these machines so the console is on a serial port, as they > need to boot without a graphics monitor. (Some direction to information > describing Beowulf Clusters would be welcomed and appreciated also.) > Thanks! > -Alan > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list > ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Configure serial port console 2000-09-22 18:30 ` Richard June @ 2000-09-22 18:35 ` Rich Payne 0 siblings, 0 replies; 10+ messages in thread From: Rich Payne @ 2000-09-22 18:35 UTC (permalink / raw) To: axp-list Do a: set console serial in SRM, that pushs SRM to the serial console then, when you boot a kernel add 'console=ttyS0' to the kernel command line. You'll also need to edit /etc/inittab to spawn a getty on the serial line, something like: S1:2345:respawn:/sbin/mingetty ttyS0 --rdp On Fri, 22 Sep 2000, Richard June wrote: > I'm not too sure about axp, but in the intel world there's a kernel option > to make the console serial, then you run mgetty on the serial port. this > command should do it. > mgetty -D ttyS0 -s 9600 -r -p Login: -x 0 > > On Fri, 22 Sep 2000 AWM@inel.gov wrote: > > > I am configuring 15 Personal Work Station 500a's as a Beowulf Cluster. I > > am not new to Linux but am not what you would call an expert by any means. > > I wonder if someone could give me some information on where I can find how > > to configure these machines so the console is on a serial port, as they > > need to boot without a graphics monitor. (Some direction to information > > describing Beowulf Clusters would be welcomed and appreciated also.) > > Thanks! > > -Alan > > > > > > > > _______________________________________________ > > Axp-list mailing list > > Axp-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/axp-list > > > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list > -- Rich Payne rpayne@alphalinux.org www.alphalinux.org ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Configure serial port console 2000-09-22 18:09 AWM 2000-09-22 18:30 ` Richard June @ 2000-09-22 19:51 ` Alvin Starr 2000-09-22 20:09 ` Kevin Wood 2 siblings, 0 replies; 10+ messages in thread From: Alvin Starr @ 2000-09-22 19:51 UTC (permalink / raw) To: AWM; +Cc: axp-list On Fri, 22 Sep 2000 AWM@inel.gov wrote: > I am configuring 15 Personal Work Station 500a's as a Beowulf Cluster. I > am not new to Linux but am not what you would call an expert by any means. > I wonder if someone could give me some information on where I can find how > to configure these machines so the console is on a serial port, as they > need to boot without a graphics monitor. (Some direction to information > describing Beowulf Clusters would be welcomed and appreciated also.) > Thanks! look at /usr/src/linux/Documentation/serial-console.txt generaly add "console=ttyS0" to you boot string and you are off and running. Alvin Starr || voice: (416)585-9971 Interlink Connectivity || fax: (416)585-9974 alvin@iplink.net || ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Configure serial port console 2000-09-22 18:09 AWM 2000-09-22 18:30 ` Richard June 2000-09-22 19:51 ` Alvin Starr @ 2000-09-22 20:09 ` Kevin Wood 2 siblings, 0 replies; 10+ messages in thread From: Kevin Wood @ 2000-09-22 20:09 UTC (permalink / raw) To: axp-list [-- Attachment #1: Type: text/plain, Size: 1205 bytes --] Here is a .pl script that was written for use here in the shop. Use it, alter it, do what you like. If you execute it, it should make all the changes necessary for you. The only thing you will need is to add the following command in SRM: set boot_osflags "root=/dev/sdx console=ttyS0" where x is your partition. You have to have the "" or SRM will take everything up to the first space. Hope this helps you out. Kevin AWM@inel.gov wrote: > > I am configuring 15 Personal Work Station 500a's as a Beowulf Cluster. I > am not new to Linux but am not what you would call an expert by any means. > I wonder if someone could give me some information on where I can find how > to configure these machines so the console is on a serial port, as they > need to boot without a graphics monitor. (Some direction to information > describing Beowulf Clusters would be welcomed and appreciated also.) > Thanks! > -Alan > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list -- Kevin Wood Atipa Linux Solutions 850 East Industrial Park Drive Suite 8 Manchester, NH 03109 P(603)622-7171 x 15 F(603)622-7272 [-- Attachment #2: headless.pl --] [-- Type: application/octet-stream, Size: 9016 bytes --] #!/usr/bin/perl -w # ------------------------------------------------------------- # -- headless.pl -- # ------------------------------------------------------------- # Copyright: DCG Computers, Inc./Atipa Linux Solutions, May 2K # # Author: Kevin Wood # Concept by Anthony Lambiris # # Change-Log: # when who what # ------- --- ---------------------------------------------- # 2000 # 13 may klw V.0.1 - initial version of procedure # 16 may amc created service() and file_read() subroutines # use strict; my ( @_lines, @_words, $_dbg, $_size, $_INITW, $_ndx, $_securetty, $_inittab ); $_ndx = 0; $_dbg = 1; $_size = 0; $_inittab = '/etc/inittab'; $_securetty = '/etc/securetty'; # ------------------------------------------------------------- # -- subroutine - file_read( message, file-name ) -- # ------------------------------------------------------------- # print message and read <file-name> into lines array # # returns: # global vars lines array and size # sub file_read { my ( $_file_exists, $_file_name ); ( $_file_name ) = @_; $_file_exists = 0; if ( -e $_file_name ) { my $_INIT; open( _INIT, $_file_name ); @_lines = <_INIT>; $_size = @_lines; close( _INIT ); $_file_exists = 1; } else { print "! $_file_name not found.\n"; } return ( $_file_exists ); } sub order { my ( $_operation, $_service, $_rtn, $_pos ); ( $_service, $_operation ) = @_; $_rtn = 0; $_pos = 0; if ( file_read( "/etc/rc.d/init.d/$_service" ) ) { for ( $_ndx = 0; $_ndx < @_lines; $_ndx++ ) { chomp $_lines[$_ndx]; @_words = split( /[\t ]+/, $_lines[$_ndx] ); if ( @_words < 4 ) { next; } if ( $_words[1] eq 'chkconfig:' ) { $_pos = 4; if ( $_operation eq 'start' ) { $_pos = 3; } last; } } } $_rtn = $_words[$_pos]; } # ------------------------------------------------------------- # function to turn a service in a runlevel on or off # ------------------------------------------------------------- sub service { my ( $_runlevel, $_order, $_service, $_state, $_initial_state, $_final_state, $_start_order, $_stop_order, $_cmd, $_cmdalt ); ( $_runlevel, $_order, $_service, $_state ) = @_; $_start_order = order( $_service, 'start' ); $_stop_order = order( $_service, 'stop' ); $_initial_state = 'K'; $_final_state = 'S'; $_cmd = "on"; $_cmdalt = "off"; if ( $_dbg ) { print "$_service start $_start_order, stop $_stop_order\n"; } if ( $_state eq 'off' ) { $_initial_state = 'S'; $_final_state = 'K'; $_cmd = "off"; $_cmdalt = "on"; } if ( $_start_order eq '0' || $_stop_order eq '0' ) { print "$_order$_service is not installed.\n"; } else { if ( -e "/etc/rc.d/rc$_runlevel.d/$_initial_state$_order$_service" ) { print "Turning $_service $_cmd\n"; `chkconfig --level 3 $_service $_cmd`; } else { if ( -e "/etc/rc.d/rc$_runlevel.d/$_final_state$_order$_service" ) { print "$_service is already $_cmdalt\n"; } } } } # end sub service( runlevel, order, service, 'on|off' ) # ------------------------------------------------------------- # -- subroutine - file_scan( pattern, array of lines ) -- # ------------------------------------------------------------- # Description: # check each entry in the lines array for pattern # # returns: # true if pattern is found, otherwise false # sub file_scan { my $_pattern_present = 0; my ( $_file_name, $_pattern ); ( $_file_name, $_pattern ) = @_; if ( file_read( $_file_name ) ) { for ( $_ndx = 0; $_ndx < @_lines; $_ndx++ ) { chomp $_lines[$_ndx]; if ( $_lines[$_ndx] eq $_pattern ) { $_pattern_present = 1; print "-- $_file_name already contains '$_pattern'\n"; last; } } } else { $_pattern_present = -1; } $_pattern_present; } sub file_save { my ( $_file_name, $_saved_as ); ( $_file_name, $_saved_as ) = @_; if ( -e $_saved_as ) { print "-- $_saved_as already saved\n"; } else { rename $_file_name, "$_saved_as"; print "-- file $_file_name saved as $_saved_as\n"; } } sub headless_securetty { my $_file_name; ( $_file_name ) = @_; if ( file_scan( $_file_name, "ttyS0" ) eq 0 ) { file_save( $_file_name, "$_file_name.headed" ); print "-- Adding ttyS0 to $_file_name......\n"; open( _INITW, "> $_file_name" ); for ( $_ndx = 0; $_ndx < $_size; $_ndx++ ) { if ( $_lines[$_ndx] eq 'tty1' ) { print _INITW "ttyS0\ntty1\n"; } else { print _INITW "$_lines[$_ndx]\n"; } } close( _INITW ); } } sub headless_inittab { my $_file_name; ( $_file_name ) = @_; if ( file_scan( $_file_name,"0:2345:respawn:/sbin/mingetty ttyS0" ) eq 0 ) { file_save( $_file_name, "$_file_name.headed" ); open( _INITW,"> $_file_name" ); for ( $_ndx = 0; $_ndx < $_size; $_ndx++ ) { if ( $_lines[$_ndx] eq '1:2345:respawn:/sbin/mingetty tty1' ) { print _INITW "0:2345:respawn:/sbin/mingetty ttyS0\n"; } print _INITW "$_lines[$_ndx]\n"; } close( _INITW ); } } # ------------------------------------------------------------- # -- subroutine - headless_make() -- # ------------------------------------------------------------- # Description: # allow machine to run headless by making changes to : # kudzu, keytable and gpm services # /etc/inittab and # /etc/securetty # # returns: # true if pattern is found, otherwise false # sub headless_make { # ------------------------------------------------------------- # Turn off keytable, kudzu and gpm # ------------------------------------------------------------- service( '3', '85', 'gpm', 'off' ); service( '3', '75', 'keytable', 'off' ); service( '3', '05', 'kudzu', 'off' ); # add ttyS0 to /etc/securetty headless_securetty( '/etc/securetty' ); # Add 0:2345:respawn:/sbin/mingetty ttyS0 to inittab headless_inittab( '/etc/inittab' ); print "-- This machine is now ready to run headless.\n"; } # end headless_make sub file_restore { my ( $_src_file, $_dst_file ); ( $_src_file, $_dst_file ) = @_; if ( -e $_src_file ) { print "-- moving $_src_file to $_dst_file\n"; rename $_src_file, $_dst_file; } else { print "-- saved file $_src_file not found, nothing to do\n"; } } sub headless_undo { file_restore( "/etc/inittab.headed", "/etc/inittab" ); file_restore( "/etc/securetty.headed", "/etc/securetty" ); service( '3', '05', 'kudzu', 'on' ); service( '3', '75', 'keytable', 'on' ); service( '3', '85', 'gpm', 'on' ); } sub headless_ask { print "-- Would you like to make this system headless? (y) \n"; print "-- to undo a currently headless system ? (u) \n"; print "-- or do nothing (n) "; my $_answer; $_answer=<stdin>; chomp $_answer; if ( $_answer eq "y" && $_answer eq "Y" ) { headless_make; } if ( $_answer eq "u" && $_answer eq "U" ) { headless_undo; } exit 0; } sub help_show { print "\n\n./headless -[h|u|y]\n"; print " w/o args - changes files to make a system headless\n"; print " after asking for confirmation\n"; print " -h - shows this info\n"; print " -u - will undo changes made by a previous run of headless\n"; print " -y - will make changes without interactive confirmation\n\n\n"; } # ------------------------------------------------------------- # verify the action to be taken # ------------------------------------------------------------- my $argc; $argc = @ARGV; if ( $argc > 0 ) { if ( $ARGV[0] eq '-h' ) { help_show; } if ( $ARGV[0] eq '-u' ) { headless_undo; } if ( $ARGV[0] eq '-y' ) { headless_make; } } else { headless_ask; } ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2000-09-25 19:46 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2000-09-22 20:46 Configure serial port console Vanco, Donald 2000-09-22 23:28 ` Seth D. Alford 2000-09-23 13:19 ` Rich Payne 2000-09-25 19:45 ` Seth D. Alford 2000-09-23 13:09 ` Rich Payne -- strict thread matches above, loose matches on Subject: below -- 2000-09-22 18:09 AWM 2000-09-22 18:30 ` Richard June 2000-09-22 18:35 ` Rich Payne 2000-09-22 19:51 ` Alvin Starr 2000-09-22 20:09 ` Kevin Wood
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox