Commit Graph

15 Commits (5399ba975151551e37faf709949adb5729ea039a)

Author SHA1 Message Date
Jo-Philipp Wich 66ab73d01f base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and move it to protocol stop callbacks
SVN-Revision: 21383
2010-05-05 23:24:11 +00:00
Jo-Philipp Wich bc37b2e831 base-files: dispatch ifdown events for proto=none interfaces and fix a race condition between revert state and hotplug handlers
SVN-Revision: 17582
2009-09-14 16:14:27 +00:00
Travis Kemen 6103f88358 remove /tmp/resolv.conf.auto when ifup -a is called so that any old dns servers no longer in the config get cleared
SVN-Revision: 13082
2008-10-29 20:31:14 +00:00
Felix Fietkau c05eb4ba63 add basic interface alias support. for now (since we don't use ip in our network scripts yet), it adds :1, :2, ... alias interfaces this will change when we add support for the ip utility, but the config format will remain the same. example:
config alias     test
option interface lan
option ipaddr    192.168.1.1
option netmask   255.255.0.0

SVN-Revision: 12241
2008-08-07 15:28:48 +00:00
Felix Fietkau 8ff90e326e network scripts: revert the network state after running ifdown, not before
SVN-Revision: 12081
2008-08-03 21:00:01 +00:00
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
Felix Fietkau f7ff1d6d0f fix a few issues with dynamically assigned interfaces
SVN-Revision: 8765
2007-09-12 17:02:34 +00:00
Felix Fietkau 4f16e9cc3e keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
SVN-Revision: 7643
2007-06-16 00:01:33 +00:00
Felix Fietkau 90d54c0faa more fixes
SVN-Revision: 7639
2007-06-15 16:07:09 +00:00
Felix Fietkau 5f4b17b53f fix ifdown hotplug event (#1576)
SVN-Revision: 6950
2007-04-15 07:23:28 +00:00
Felix Fietkau 6d47d3ae11 fix bogus "interface not found" errors in ifup -a (#1580)
SVN-Revision: 6949
2007-04-15 07:22:11 +00:00
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
2007-03-04 20:31:53 +00:00
Felix Fietkau 84bec9f9cf add support for if{down,up} -a and implement proper start/stop/restart for /etc/init.d/network
SVN-Revision: 6455
2007-03-02 13:21:33 +00:00
Felix Fietkau 271a77fa90 fix typos in ifdown (patch from #1319)
SVN-Revision: 6272
2007-02-06 01:02:30 +00:00
Felix Fietkau 59a06c71cb rename default/ to files/
SVN-Revision: 5622
2006-11-22 23:30:57 +00:00