added config service manager, added custom loading of subdirs for config based services, added configurations for config services
This commit is contained in:
parent
cf7dda816c
commit
433327c0ae
7 changed files with 194 additions and 52 deletions
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
# auto-generated by DefaultRoute service
|
||||
# config: ${config}
|
||||
% for address in addresses:
|
||||
ip route add default via ${address}
|
||||
% endfor
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
# auto-generated by IPForward service (utility.py)
|
||||
sysctl -w net.ipv4.conf.all.forwarding=1
|
||||
sysctl -w net.ipv4.conf.default.forwarding=1
|
||||
sysctl -w net.ipv6.conf.all.forwarding=1
|
||||
sysctl -w net.ipv6.conf.default.forwarding=1
|
||||
sysctl -w net.ipv4.conf.all.send_redirects=0
|
||||
sysctl -w net.ipv4.conf.default.send_redirects=0
|
||||
sysctl -w net.ipv4.conf.all.rp_filter=0
|
||||
sysctl -w net.ipv4.conf.default.rp_filter=0
|
||||
# setup forwarding for node interfaces
|
||||
% for devname in devnames:
|
||||
sysctl -w net.ipv4.conf.${devname}.forwarding=1
|
||||
sysctl -w net.ipv4.conf.${devname}.send_redirects=0
|
||||
sysctl -w net.ipv4.conf.${devname}.rp_filter=0
|
||||
% endfor
|
Loading…
Add table
Add a link
Reference in a new issue