Thanks. I have done it that way in the past, with curl but the same idea, but its still
inconvenient. There's also a small problem with your suggestion in that there is possible storage
of your firewall password in clear text on the system you use to schedule this command. If that
isn't a concern, its a adequate solution. If it is, extra steps need to be taken which complicates
the solution to a relatively simple problem. I was just suggesting a cleaner way of doing it might
be by making it a management feature available through the WebGUI.
From: Marc Fargas [mailto:telenieko at gmail dot com]
Sent: Wednesday, January 11, 2006 1:45 PM
To: m0n0wall dash dev at lists dot m0n0 dot ch
Subject: Re: [m0n0wall-dev] Feature Request - Scheduled Reboot
wget --post-data='Submit= Yes ' --user=USER --password=PASS
On 1/11/06, Marc Fargas <telenieko at gmail dot com> wrote:
> Right now you can use some scheduler to exec:
> wget --post-data='formbtn= Yes ' --user=USER --password=PASS
> --no-check-certificate https://<your_m0n0_ip>/reboot.php
> That will reboot the box.
> BUG: If you press NO, m0n0 reboots.... nice.... was a bad test ;)
> On 1/11/06, Schreiner, Torry <tschreiner at clark dot edu> wrote:
> > I don't know if this request has been made before or if m0n0wall even
> > has the necessary support programs but...
> > It would be nice to be able to schedule a reboot, either at a specific
> > time or after a user selectable delay. Some changes aren't crucial enough
> > to warrant interrupting service with an immediate reboot but then it becomes
> > inconvenient to do the reboot when the impact would be minor like in the
> > middle of the night.
> > Thanks for the all the great work you do to provide such a feature rich
> > product for free.
> > Torry Schreiner
> > Systems Administrator
> > Clark College
> > Vancouver, WA
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: m0n0wall dash dev dash unsubscribe at lists dot m0n0 dot ch
> > For additional commands, e-mail: m0n0wall dash dev dash help at lists dot m0n0 dot ch