mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Initial commit for static routing.
Add script that initializes the routing table and is supposed to set the routes.
This commit is contained in:
@@ -76,5 +76,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
cd $(DIR_APP) && make $(MAKETUNING) SBINDIR=/sbin
|
||||
cd $(DIR_APP) && make SBINDIR=/sbin install
|
||||
cd $(DIR_APP) && mv -v /sbin/arpd /usr/sbin
|
||||
|
||||
# Add table for static routing
|
||||
echo "200 static" >> /etc/iproute2/rt_tables
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user