[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: Script Exit/Reinitialization

Fabien Wernli wernli@in2p3.fr
Wed, 30 Sep 2009 13:40:08 GMT


On Wed, Sep 30, 2009 at 08:10:39AM -0400, Ben Batten wrote:
> - pass or embed a console-exit -- "^Ec." -- through a forced ssh
> command.  Ie., running a forced script (menu) and an option is to exit
> and thereby close the console.  Like an expect line or something
> similar?

not sure what you mean by "forced script (menu)", but for what it's worth
I've got two very simple expect scripts to up and down a console

> - or is there a way to simply disable the reinitialization or limit it
> to a single ondemand initialization?

sure is - check out the conserver.cf manpage