Commit Graph

16 Commits (5ad114bf478168692fdb7768880ed5ee01d94ee6)

Author SHA1 Message Date
Jo-Philipp Wich 261d41a906 base-files: - use add_dns() and remove_dns() for when changing resolv.conf.auto for static or dhcp interfaces - force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces - revert dns servers in /sbin/ifdown - bump package revision
SVN-Revision: 21638
14 years ago
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
14 years ago
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
15 years ago
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
16 years ago
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
16 years ago
Felix Fietkau 8ff90e326e network scripts: revert the network state after running ifdown, not before
SVN-Revision: 12081
16 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
17 years ago
Felix Fietkau f7ff1d6d0f fix a few issues with dynamically assigned interfaces
SVN-Revision: 8765
17 years ago
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
17 years ago
Felix Fietkau 90d54c0faa more fixes
SVN-Revision: 7639
17 years ago
Felix Fietkau 5f4b17b53f fix ifdown hotplug event (#1576)
SVN-Revision: 6950
17 years ago
Felix Fietkau 6d47d3ae11 fix bogus "interface not found" errors in ifup -a (#1580)
SVN-Revision: 6949
17 years ago
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
18 years ago
Felix Fietkau 84bec9f9cf add support for if{down,up} -a and implement proper start/stop/restart for /etc/init.d/network
SVN-Revision: 6455
18 years ago
Felix Fietkau 271a77fa90 fix typos in ifdown (patch from #1319)
SVN-Revision: 6272
18 years ago
Felix Fietkau 59a06c71cb rename default/ to files/
SVN-Revision: 5622
18 years ago