tech-userlevel archive

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

Re: rc scripts telling you when they will not start



On Sat, 7 Jan 2012 10:57:25 -0500
matthew sporleder <msporleder%gmail.com@localhost> wrote:

> On Sat, Jan 7, 2012 at 10:45 AM, Paul Goyette <paul%whooppee.com@localhost> 
> wrote:
> > On Sat, 7 Jan 2012, matthew sporleder wrote:
> >
> >
> >
> > I would prefer to keep current default behavior, and add a new 'verbose'
> > option instead:
> >
> > -        run_rc_script $_rc_elem start
> > +        run_rc_script $_rc_elem start verbose
> >
> 
> I don't want the messages at boot, I want a warning when I try to run
> the command interactively.

This makes me wonder... perhaps we could then make it warn when run
interactively?  i.e.:

case "$-" in *i*)
        ...
        ;;
esac

-- 
Matt


Home | Main Index | Thread Index | Old Index