mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 13:02:58 +02:00
static-routes: Make it clear that we are reloading routes
When RED is brought down, we will reload all static routes. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -3,7 +3,9 @@ etc/issue
|
||||
etc/rc.d/helper/aws-setup
|
||||
etc/rc.d/init.d/aws
|
||||
etc/rc.d/init.d/localnet
|
||||
etc/rc.d/init.d/networking/red.down/10-static-routes
|
||||
etc/rc.d/init.d/partresize
|
||||
etc/rc.d/init.d/static-routes
|
||||
etc/sysctl.conf
|
||||
etc/unbound/unbound.conf
|
||||
opt/pakfire/lib/functions.pl
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Update the static routes.
|
||||
exec /etc/rc.d/init.d/static-routes start
|
||||
# Update the static routes
|
||||
exec /etc/rc.d/init.d/static-routes reload
|
||||
|
||||
@@ -42,7 +42,7 @@ function create_all_routes() {
|
||||
CONFIGFILE="/var/ipfire/main/routing"
|
||||
|
||||
case "${1}" in
|
||||
start)
|
||||
start|reload)
|
||||
boot_mesg "Adding static routes..."
|
||||
|
||||
# First, initialize the table
|
||||
@@ -61,7 +61,7 @@ case "${1}" in
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Usage: ${0} {start|stop}"
|
||||
echo "Usage: ${0} {start|stop|reload}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user