Fixed OpenSwan Route in pppd setups.
authorMarcus Scholz <commander1024@ipfire.org>
Sat, 5 Sep 2009 19:55:13 +0000 (21:55 +0200)
committerMarcus Scholz <commander1024@ipfire.org>
Sat, 5 Sep 2009 19:55:13 +0000 (21:55 +0200)
config/rootfiles/core/31/filelists/files
src/ppp/ip-up

index 10f4300fef1638422432f8a78dce9d976d18e6d2..8e8f97b22108f47cf6fad75d04cba028e1a4761c 100644 (file)
@@ -1,2 +1,3 @@
 etc/system-release
 boot/grub/grub.conf
+etc/ppp/ip-up
index 4ce95a5050d9205a280ece88c43eb03b9720fa3c..02f60a6ba97e7491af741efd482c678d52b96754 100644 (file)
@@ -79,3 +79,5 @@ fi
 mv /tmp/hosts /etc/hosts
 
 [ -e "/var/ipfire/ppp/nobeeps" ] || /etc/rc.d/init.d/beep up
+
+/sbin/ip route replace default via ${IPREMOTE}