A few more doc tweaks and the dependency script.

This commit is contained in:
2026-05-12 01:55:11 -04:00
parent 672f02efc6
commit 44cae888d4
4 changed files with 19 additions and 11 deletions
+6 -3
View File
@@ -15,7 +15,8 @@ on FreeBSD-14, but I no longer run any routers with it on FreeBSD-14.)
None, in particular. The `rc.router/scripts/install-dependencies.sh` script will
install all necessary dependency packages for FreeBSD. Several of the
`${rc_router_dir}/rc.d` startup scripts depend upon these.
`${rc_router_dir}/rc.d` startup scripts depend upon these. It is expected that
this script will be run by the administrator to install those packages.
## Directory Layout
@@ -120,7 +121,7 @@ $ cd /etc
$ mkdir router-conf
$ cd router-conf
$ git init .
$ echo << EOF > rc.conf
$ cat << EOF > rc.conf
# Configure a basic external v4 ISP
external_card="em0"
@@ -135,6 +136,7 @@ EOF
$ git add rc.conf
$ git submodule add rc.router https://gitea.nerdland.org/adam/rc.router
$ git commit -m "FIRST POST!!!"
$ rc.router/scripts/install-dependencies.sh
$ echo 'rc_router_dir="/etc/router-conf/rc.router"' >> /etc/rc.conf
$ echo 'rc_router_conf_dir="/etc/router-conf"' >> /etc/rc.conf
$ echo ". ${rc_router_dir}/rc.entry" >> /etc/rc.conf
@@ -149,7 +151,7 @@ $ cd /etc
$ mkdir router-conf
$ cd router-conf
$ git init .
$ echo << EOF > rc.conf
$ cat << EOF > rc.conf
# Configure a basic external v4 ISP
external_card="em0"
add_v4_isp ${external_card} dhcp
@@ -165,6 +167,7 @@ EOF
$ git add rc.conf
$ git submodule add rc.router https://gitea.nerdland.org/adam/rc.router
$ git commit -m "FIRST POST!!!"
$ rc.router/scripts/install-dependencies.sh
$ echo 'rc_router_dir="/etc/router-conf/rc.router"' >> /etc/rc.conf
$ echo 'rc_router_conf_dir="/etc/router-conf"' >> /etc/rc.conf
$ echo ". ${rc_router_dir}/rc.entry" >> /etc/rc.conf