]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Reload static routes after a connecting to the internet. static-routes
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Jan 2012 21:32:32 +0000 (22:32 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Jan 2012 21:32:32 +0000 (22:32 +0100)
BUg 10007. Some users claimed, that not all static routes are
set up correctly at boot time.

src/initscripts/init.d/networking/red.down/10-static-routes [new file with mode: 0644]
src/initscripts/init.d/networking/red.up/10-static-routes [new file with mode: 0644]

diff --git a/src/initscripts/init.d/networking/red.down/10-static-routes b/src/initscripts/init.d/networking/red.down/10-static-routes
new file mode 100644 (file)
index 0000000..f8f00a7
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# Update the static routes.
+exec /etc/rc.d/init.d/static-routes start
diff --git a/src/initscripts/init.d/networking/red.up/10-static-routes b/src/initscripts/init.d/networking/red.up/10-static-routes
new file mode 100644 (file)
index 0000000..f8f00a7
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# Update the static routes.
+exec /etc/rc.d/init.d/static-routes start