|
发表于 2008-3-18 03:16:28
|
显示全部楼层
1. if the route config is static, then pre-make the file, store into /etc/ somewhere. the script can just parse it and configure the route according to lines in the file.
2. if the route is dynamic, I'd assume you will need to run something else to generate it and then feed into your script to configure. |
|