|
|
@ -1,20 +1,20 @@ |
|
|
|
rrqnet-cron.sh(8) |
|
|
|
================= |
|
|
|
rrqnet-cron(8) |
|
|
|
============== |
|
|
|
:doctype: manpage |
|
|
|
:revdate: {sys:date "+%Y-%m-%d %H:%M:%S"} |
|
|
|
|
|
|
|
NAME |
|
|
|
---- |
|
|
|
rrqnet-cron.sh - Management script to uphold a *rrqnet* plug. |
|
|
|
rrqnet-cron - Management script to uphold a *rrqnet* plug. |
|
|
|
|
|
|
|
SYNOPSIS |
|
|
|
-------- |
|
|
|
*rrqnet-cron.sh* _vpn_ ... |
|
|
|
*rrqnet-cron* _vpn_ ... |
|
|
|
|
|
|
|
DESCRIPTION |
|
|
|
----------- |
|
|
|
|
|
|
|
*rrqnet-cron.sh* is a management script for upholding an *rrqnet* plug |
|
|
|
*rrqnet-cron* is a management script for upholding an *rrqnet* plug |
|
|
|
for a nominated VPN confguration. The given _vpn_ (or the several) is |
|
|
|
the pathname relative to the configuration root directory and with a |
|
|
|
+.conf+ extension added, as in +/etc/rrqnet/conf.d/+*vpn*+.conf+. |
|
|
@ -34,11 +34,11 @@ VERBOSE=-v |
|
|
|
---- |
|
|
|
|
|
|
|
* The `TAP` assignment names the tap interface to use. |
|
|
|
* The optional MAC assignment, if provided, tells *rrqnet-cron.sh* to |
|
|
|
* The optional MAC assignment, if provided, tells *rrqnet-cron* to |
|
|
|
set the Ethernet address of the tap interface as given. |
|
|
|
* The optional `BR` assignment, if provided, tells *rrqnet-cron.sh* |
|
|
|
* The optional `BR` assignment, if provided, tells *rrqnet-cron* |
|
|
|
to add the tap interface to the bridge upon start. |
|
|
|
* The optional `IP` assignment, if provided, tells *rrqnet-cron.sh* |
|
|
|
* The optional `IP` assignment, if provided, tells *rrqnet-cron* |
|
|
|
how to configure the tap interface when it is brought up. If empty, |
|
|
|
the tap interface is brought up without confgiured IP address. |
|
|
|
* The `PORT` assignment declares which port *rrqnet* should listen |
|
|
@ -83,10 +83,10 @@ A VPN assignment like the above would downlink remotes in IP range |
|
|
|
crontab set up |
|
|
|
~~~~~~~~~~~~~~ |
|
|
|
|
|
|
|
The script *rrqnet-cron.sh* is intended to be set up in *crontab*, by |
|
|
|
The script *rrqnet-cron* is intended to be set up in *crontab*, by |
|
|
|
a line such as the following: |
|
|
|
---- |
|
|
|
* * * * * /usr/local/sbin/rrqnet-cron.sh tap0-client |
|
|
|
* * * * * /usr/local/sbin/rrqnet-cron tap0-client |
|
|
|
---- |
|
|
|
|
|
|
|
By that *crontab* line, the script will be invoked every minute for |
|
|
@ -97,7 +97,7 @@ restart it. |
|
|
|
NOTES |
|
|
|
----- |
|
|
|
|
|
|
|
Note that *rrqnet-cron.sh* sources the configuration file and exits |
|
|
|
Note that *rrqnet-cron* sources the configuration file and exits |
|
|
|
after optionally spawning an *rrqnet* daemon. On may therefore safely |
|
|
|
just change the cable set up, and kill *rrqnet* in order apply that |
|
|
|
changed set up. |