Re: [Tutor] Python and boot sequences

2012-07-08 Thread Dave Wilder
5@python.org [mailto:tutor-bounces+d.wilder=f5@python.org] On Behalf Of Alan Gauld Sent: Wednesday, July 04, 2012 1:07 PM To: tutor@python.org Subject: Re: [Tutor] Python and boot sequences On 28/06/12 13:54, Dave Wilder wrote: > Can a Python script be written that has the ability to stop a Lin

Re: [Tutor] Python and boot sequences

2012-07-08 Thread David Rock
* Dave Wilder [2012-06-28 12:54]: > > Can a Python script be written that has the ability to stop a Linux > device in the middle of a boot when a certain sequence occurs and then > perform an action? > > For example, when I boot my switch (w/ Linux OS 2.7.3), I want to stop > the boot when I see

Re: [Tutor] Python and boot sequences

2012-07-04 Thread Alan Gauld
On 28/06/12 13:54, Dave Wilder wrote: Can a Python script be written that has the ability to stop a Linux device in the middle of a boot when a certain sequence occurs and then perform an action? It depends... For example, when I boot my switch (w/ Linux OS 2.7.3), I want to stop the boot wh

[Tutor] Python and boot sequences

2012-07-04 Thread Dave Wilder
Hello, This is a general Python question, so I don't require specific answers on how to do it, but... Can a Python script be written that has the ability to stop a Linux device in the middle of a boot when a certain sequence occurs and then perform an action? For example, when I boot my switch