aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
Commit message (Collapse)AuthorAgeFilesLines
* when rebooting, use lazy umounts as fallback (patch by puchu)Felix Fietkau2010-01-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19429 3c298f89-4303-0410-b956-a3cf2f4a3e73
* stop syslogd before rebooting, otherwise umount might not work properly when ↵Felix Fietkau2010-01-301-0/+6
| | | | | | logging to a file (thx, puchu) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* when rebooting, stop the network interfaces last (just before umount) to ↵Felix Fietkau2010-01-301-1/+1
| | | | | | allow services to shut down properly (thx, puchu) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19427 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: do not warn about nonexistant sysctl overrides (some of them are ↵Felix Fietkau2010-01-291-1/+1
| | | | | | config dependent) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add preinit modularization work by Daniel Dickinson (cshore)Felix Fietkau2010-01-251-82/+29
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: try to activate hotplugged partitions as swap and fall ↵Jo-Philipp Wich2010-01-231-4/+5
| | | | | | back to lazy mount (#6517) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19300 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: disable bridge firewalling by defaultJo-Philipp Wich2010-01-181-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* run led init after /etc/init.d/done to keep the configured led settings ↵Felix Fietkau2010-01-061-1/+1
| | | | | | | | active after the system has finished booting Signed-off-by: Nuno Goncalves <nunojpg@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add missing argument to debug/mount wrappers (thx, matteo)Felix Fietkau2009-12-091-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* do not start multiple subshells for applying /etc/uci-defaults. use sh -x ↵Felix Fietkau2009-12-092-6/+5
| | | | | | for hush compatibility git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18717 3c298f89-4303-0410-b956-a3cf2f4a3e73
* functions.sh: use functions instead of aliases for the debug, mount wrappers ↵Felix Fietkau2009-12-091-2/+7
| | | | | | - hush does not have aliases git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mount debugfs by defaultFelix Fietkau2009-11-231-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: only try to execute watchdog if binary is presentJo-Philipp Wich2009-10-201-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add hotplug rules for /dev/lpX (#863)Jo-Philipp Wich2009-09-281-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17792 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cosmetic] accommodate for 5 digits svn revisions :)Nicolas Thill2009-09-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17670 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: introduce a ready-to-use /etc/rc.local to let users ↵Jo-Philipp Wich2009-09-112-0/+9
| | | | | | run custom commands on init without creating custom init scripts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "fix nonhotpluggable networks not being brought up. Closes #2781" ↵Felix Fietkau2009-09-091-15/+0
| | | | | | (r17527) until we've solved the race conditions it creates git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix nonhotpluggable networks not being brought up. Closes #2781Travis Kemen2009-09-061-0/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: set state to 'preinit' before preinit.arch is used, and ↵Gabor Juhos2009-09-051-2/+3
| | | | | | set state to 'failsafe' when entering failsafe mode git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17517 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "add ifup -a to boot(), closes #4543 #2781" (r17515)Felix Fietkau2009-09-051-1/+0
| | | | | | | | Hotpluggable interfaces are already brought up before /etc/init.d/network boot and this change can break them, if the ifup -a command runs at the wrong time, also starts many interfaces twice, which can lead to issues with PPPoE. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add ifup -a to boot(), closes #4543 #2781Travis Kemen2009-09-051-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* extend logging functionsTravis Kemen2009-09-041-7/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* preinit: fix failsafe mode through ctrl+c on devices that do not provide a ↵Felix Fietkau2009-09-021-1/+5
| | | | | | preinit.arch file git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* udev: Update udev package from udev-106 to udev-142Geoff Levand2009-08-241-4/+8
| | | | | | | | | | | | | | | | | | | | | Update the init scripts have to use udevadm where appropriate. The udev package no longer provides separate udev utilities like udevtrigger and udevsettle. These have been incorporated into the udev admin program udevadm. Replace the udevextras sub package with config options to the udev package. Update the preinit script to check for '/lib/udev/devices', and copy it to '/dev/ if it is found, then to conditionaly setup /dev the old way with mknod etc. Udev now recommends using the directory '/lib/udev/devices' to initialize the '/dev' directory at startup. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17378 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: move ipv6 module loading from setup_interface() to ↵Jo-Philipp Wich2009-08-101-0/+6
| | | | | | addif() in the hotplug call, this ensures that ipv6 is loaded before any interfaces or aliases with ip6addr option are configured (#5356) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: clean up init.d/fstab and port it to the new config_getFelix Fietkau2009-08-071-18/+14
| | | | | | | | ... also remove the unused noauto variable in swapon. Signed-off-by: Malte S. Stretz <mss@apache.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: port init.d/led to new config_getFelix Fietkau2009-08-071-8/+6
| | | | | | | | ... and don't call logger directly, rcS takes care of the correct redirection Signed-off-by: Malte S. Stretz <mss@apache.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: port init.d/boot to new config_getFelix Fietkau2009-08-071-9/+10
| | | | | | | | ... and localize some variables. Signed-off-by: Malte S. Stretz <mss@apache.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17157 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: port functions.sh to new config_getFelix Fietkau2009-08-071-2/+2
| | | | | | Signed-off-by: Malte S. Stretz <mss@apache.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17156 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: allow default value for config_getFelix Fietkau2009-08-071-6/+9
| | | | | | | Signed-off-by: Malte S. Stretz <mss@apache.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [pakcage] simplify action handling in rc.common (#5558)Florian Fainelli2009-07-261-23/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17012 3c298f89-4303-0410-b956-a3cf2f4a3e73
* change sysctl.conf to disable tcp ecn by default (based on discussion with ↵Felix Fietkau2009-06-171-1/+1
| | | | | | marek who stumbled upon this, it creates hard-to-debug connectivity issues with providers/servers that still use buggy equipment) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [hotplug2] Removed extra ; in exec ruleHamish Guthrie2009-06-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] fix drivers firmware loading with the new hotplug2, patch from ↵Florian Fainelli2009-05-311-1/+1
| | | | | | Russell Senior git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: set rules file for hotplug2 in the boot script (closes ↵Gabor Juhos2009-05-301-0/+1
| | | | | | #5235) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: update command line for the new hotplug2Gabor Juhos2009-05-282-3/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16154 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rcS: wait for init scripts to complete before initiating the shutdown (patch ↵Felix Fietkau2009-04-302-6/+12
| | | | | | from #5032) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: make diag.sh stub working in bashJo-Philipp Wich2009-04-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add an explicit 'sysinit' tag for logging initscripts output, instead of '' ↵Nicolas Thill2009-04-211-1/+1
| | | | | | that was logged as is git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix broken logic in r15272, r15273Jo-Philipp Wich2009-04-191-5/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: (#4928)Jo-Philipp Wich2009-04-191-0/+7
| | | | | | | | | | handle "option gateway 0.0.0.0" and "option gateway interface" in route sections as "no gateway given" to allow defining gateway-less routes while still keeping the possibility to have static routes with a proper gateway on interfaces with# dynamic ips git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: remove redundant netmask handling in 10-routesJo-Philipp Wich2009-04-121-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15219 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tweak some sysctl values for better performanceFelix Fietkau2009-04-071-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename our /bin/login script to /bin/login.sh to avoid collisions with ↵Felix Fietkau2009-04-041-1/+1
| | | | | | busybox - we always use -l on telnetd anyway git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix failsafe modeFelix Fietkau2009-04-041-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Allow running without "logger" installedMichael Büsch2009-03-181-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Support configurations without syslogd/klogd.Michael Büsch2009-03-181-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move input device nodes to /dev/inputFelix Fietkau2009-03-091-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base-files]: On shutdown disabled every mounted swap device. Hauke Mehrtens2009-03-071-0/+1
| | | | | | | | Fixes #4721 Thanks to Angel Marin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base-files] allow specifying port where to log (#2019)Florian Fainelli2009-02-031-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14396 3c298f89-4303-0410-b956-a3cf2f4a3e73