aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
Commit message (Collapse)AuthorAgeFilesLines
* Also call setup_switch on network restartFlorian Fainelli2008-03-021-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove the packages repo as it is not compatable with trunkTravis Kemen2008-02-291-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10537 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add an extra safety checkFelix Fietkau2008-02-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10389 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-034-38/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make the system have a daemon user by defaultJohn Crispin2008-01-281-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add generic gpio char dev for CONFIG_GENERIC_GPIO archsJohn Crispin2008-01-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* missing optional parameters for restart and boot functionsFelix Fietkau2008-01-251-3/+3
| | | | | | | | | | | Add missing optional parameters in remaining rc functions. It fixes my previous implementation of parametrized rc functions [8106], ticket #3063, thanks argovela-at-yahoo-com for reporting. Signed-off-by: Lubos Stanek (lubek) <lubek@lubek.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add uci_set_default (to be used in init scripts or /etc/uci-defaults)Felix Fietkau2008-01-021-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10086 3c298f89-4303-0410-b956-a3cf2f4a3e73
* refactor hotplug2 rules, make sure that the default button rule is only used ↵Felix Fietkau2007-12-012-35/+36
| | | | | | during the init (should fix #2772) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* drop the '0' default in config_get_boolFelix Fietkau2007-11-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9618 3c298f89-4303-0410-b956-a3cf2f4a3e73
* init: check permissions on rc.d filesFelix Fietkau2007-11-281-1/+1
| | | | | | | | | | | | | We try to unconditionally execute /etc/rc.d/* files, even if they're not executable - an easy way of temproarily disabling a service. When this happens, we get a permission denied error on boot. This change only tries to run execulable startup scripts. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9607 3c298f89-4303-0410-b956-a3cf2f4a3e73
* init: don't start hotplug2 if it doesn't existFelix Fietkau2007-11-281-1/+2
| | | | | | | | | | | | | The current init script always tries to start hotplug 2, even if it's not present, so we get an error on boot. This change checks for the presence of the hotplug2 binary before trying to start it. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages] 6tunnel: move init/config files to the right placeGabor Juhos2007-10-272-70/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Enable IPv6 forwarding by default (#2527)Florian Fainelli2007-10-241-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9435 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Mark 6tunnel as executable, avoids ": /etc/init.d/rcS: line 8: ↵Florian Fainelli2007-10-241-0/+0
| | | | | | /etc/rc.d/S466tunnel: Permission denied" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9424 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Turn off stp by default, thanks ejkaFlorian Fainelli2007-10-181-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9345 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Turn on stp by default for bridges (#2476)Florian Fainelli2007-10-181-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add route6 option to setup IPv6 routes (#2528)Florian Fainelli2007-10-161-0/+29
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9337 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixed 1677John Crispin2007-10-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add 6tunnel configuration for tunnel brokers based configuration (not ↵Florian Fainelli2007-10-112-0/+70
| | | | | | SiXXS), disabled by default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: Added support for swap configuration in /etc/config/fstabRod Whitby2007-09-222-0/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Added support for /etc/default/fstab - a means of automatically mounting ↵Rod Whitby2007-09-212-0/+48
| | | | | | devices on boot. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add --no-coldplug to the hotplug2 process started by /etc/init.d/boot - ↵Felix Fietkau2007-09-201-1/+1
| | | | | | should prevent duplicate ifup actions. thx, ffrrrr. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* made HOME=/root global instead of x86 specificJohn Crispin2007-09-192-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8845 3c298f89-4303-0410-b956-a3cf2f4a3e73
* support true and false in config_get_boolFelix Fietkau2007-09-191-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8840 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add sysupgrade script for config preserving system upgrades. only ↵Felix Fietkau2007-08-211-0/+8
| | | | | | implemented for x86-2.6 at the moment, but can be ported to other platforms easily git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a race condition with dynamic interfaces and firewallingFelix Fietkau2007-08-041-3/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wireless config gets regenerated not only when it does not exist, buit also ↵John Crispin2007-07-241-1/+1
| | | | | | if it is 0 len git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8149 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add patch from #2111Felix Fietkau2007-07-222-13/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move firmware loading to hotplug2-init.rules (should fix #2056)Felix Fietkau2007-07-131-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS resetFelix Fietkau2007-07-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7953 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix static routes for dynamic interfaces (#1446)Felix Fietkau2007-07-121-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7949 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move uci_load into config_load so that changes can be applied via uci ↵Mike Baker2007-07-111-8/+21
| | | | | | without commiting git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add second package source for packages built from the /packages repositoryFelix Fietkau2007-07-091-1/+2
| | | | | | | fix up first package source (should be release, not snapshots on 7.07) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7897 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix ↵Felix Fietkau2007-07-091-0/+22
| | | | | | permissions of various devices (fixes #2052) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add failsafe support for atheros-2.6 (#1501) - only works with ar5315+ at ↵Felix Fietkau2007-07-041-0/+9
| | | | | | the moment git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move parts of the failsafe code to the generic base-files - will be used on ↵Felix Fietkau2007-06-302-1/+4
| | | | | | atheros as well as soon as i've added support for it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7810 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a warning (#1800)Felix Fietkau2007-06-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* replace the hotplug2 fork handling hack with a better solution implemented ↵Felix Fietkau2007-06-301-1/+1
| | | | | | in upstream (thanks, iSteve) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7786 3c298f89-4303-0410-b956-a3cf2f4a3e73
* unify sysctl.conf, add extra netfilter options (#1996)Felix Fietkau2007-06-301-0/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7784 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix failsafe on broadcom, send netlink events in diag when running linux 2.6Felix Fietkau2007-06-253-15/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7722 3c298f89-4303-0410-b956-a3cf2f4a3e73
* added usb-storage hotplugingJohn Crispin2007-06-201-0/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* keep track of the network interface states (stored in uci format in ↵Felix Fietkau2007-06-162-0/+7
| | | | | | /var/state/network, overlay over /etc/config/network) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* some shell variable handling fixesFelix Fietkau2007-06-151-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow config_* and uci_* functions to work on files outside of /etc/config - ↵Felix Fietkau2007-06-151-1/+5
| | | | | | these files are assumed to use commands generated by uci_* only (as overlay to regular config files) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7636 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add the conloglevel option (#1682)Florian Fainelli2007-06-131-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Check for modules.d existence before loading modulesFlorian Fainelli2007-05-311-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mount_root should only mount the rootMike Baker2007-05-311-5/+42
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bridge the lan interface by defaultFelix Fietkau2007-05-261-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7349 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Prefer real executables when available (#1296)Florian Fainelli2007-05-141-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7232 3c298f89-4303-0410-b956-a3cf2f4a3e73