summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc
AgeCommit message (Collapse)Author
2010-06-02[package] base-files:jow
- add aliases to device by default (not ifname) - introduce option "layer" to select the target ifname to attach the alias to: - 3 use tun device (tun over bridge over device) fallback to bridge or device - 2 use bridge (bridge over device) fallback to device - 1 use device git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-01[package] base-file: move alias setup to route hotplug, this fixes alias ↵jow
sections for non-static interfaces like ppp, dhcp, 6in4 etc. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-31[package] base-files: don't skip subsequent hotplug rules when doing makedev ↵jow
for tun or tap interfaces - this fixes support for uci managed OpenVPN interfaces and other externally created tuntap devices git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28[package] base-files: 3g connection interfaces are now called "3g-*" - ↵jow
adjust 10-net hotplug handler to match them git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27[package] base-files: respect .auto option when running ↵jow
coldplug_interface_*() hooks on boot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17[package] base-files (#7316)jow
- improve rdate reliability - make rdate config more ntp like - move time server list to /etc/config/timeserver - bump package revision git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17[package] base-files: use uci_get() wrapper (#7312)jow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06[package] base-files: add a coldplug_interface_* hook to bring up ↵jow
non-hotpluggable interfaces on boot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05base-files: do not bring up wlan interfaces from hotplug events, so that ↵nbd
wrong network/wireless configs are more noticeable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03[package] base-files: Remove redundant stopping of watchdogacinonyx
busybox watchdog applet should stop the watchdog before shutting down git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03[package] add stop() to watchdog init script, patch from Yury Polyanskiyflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16Fix bug in foregrounding in /etc/init.d/rcSflorian
Not using the config_xxx functions correctly. Amended. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13[package] option to allow boot to run to completion before starting shellflorian
Setting the system variable "foreground" to yes causes the system to run the init scripts in series and wait for completion. This is useful if (a) you don't want the user getting into the console until the system is initialized, or (b) you have things going on in your scripts that require strict ordering (and no possible race conditions). Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10[package] add debugging entry to hotplug configflorian
This is useful for seeing what devices are detected by the system. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03[package] base-files: Use hotplug2 to download firmwareacinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03[package] base-files: also regenerate wifi config if existing config ↵jow
contains only whitespace git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29[package] base-files: fix shell syntax (prevent error messages when ↵nico
activating initscripts in IB) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27[package] base-files: add a hotplug handler for rdatejow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-15base-files: reload switch settings on /etc/init.d/network start as wellnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10[package] base-files: fix preinit code typosnico
Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl> Acked-by: Daniel Dickinson <cshore@csolve.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26add the block-mount package by Daniel Dickinson (cshore), replacing existing ↵nbd
automount functionality git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-12[package] base-files: add /dev/hvcX to hotplug common rulesjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-12Here is LVM support for OpenWRT. It introduces 3 new packages:thepeople
- kmod-dm for the device mapper kernel module. - kmod-libdevmapper for the device-mapper library. - kmod-lvm2 for the lvm tool. Note that it currently does not create the symlinks for all the lvm tools, so you have to use lvm pvs rather than just pvs. Thanks Stefan Monnier git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-09[base-files] Don't do lazy unmounting of filessystems at reboot/poweroff.lars
It is unneeded and could couse a broken filesystem if unmounting takes to long. Thanks to Peter Wagner git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30when rebooting, use lazy umounts as fallback (patch by puchu)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30stop syslogd before rebooting, otherwise umount might not work properly when ↵nbd
logging to a file (thx, puchu) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30when rebooting, stop the network interfaces last (just before umount) to ↵nbd
allow services to shut down properly (thx, puchu) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-29base-files: do not warn about nonexistant sysctl overrides (some of them are ↵nbd
config dependent) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25add preinit modularization work by Daniel Dickinson (cshore)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-23[package] base-files: try to activate hotplugged partitions as swap and fall ↵jow
back to lazy mount (#6517) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-18[package] base-files: disable bridge firewalling by defaultjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-06run led init after /etc/init.d/done to keep the configured led settings ↵nbd
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
2009-12-09add missing argument to debug/mount wrappers (thx, matteo)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09do not start multiple subshells for applying /etc/uci-defaults. use sh -x ↵nbd
for hush compatibility git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09functions.sh: use functions instead of aliases for the debug, mount wrappers ↵nbd
- hush does not have aliases git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-23mount debugfs by defaultnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20[package] base-files: only try to execute watchdog if binary is presentjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-28[package] base-files: add hotplug rules for /dev/lpX (#863)jow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-22[cosmetic] accommodate for 5 digits svn revisions :)nico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-11[package] base-files: introduce a ready-to-use /etc/rc.local to let users ↵jow
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
2009-09-09Revert "fix nonhotpluggable networks not being brought up. Closes #2781" ↵nbd
(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
2009-09-06fix nonhotpluggable networks not being brought up. Closes #2781thepeople
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-05package/base-files: set state to 'preinit' before preinit.arch is used, and ↵juhosg
set state to 'failsafe' when entering failsafe mode git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-05Revert "add ifup -a to boot(), closes #4543 #2781" (r17515)nbd
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
2009-09-05add ifup -a to boot(), closes #4543 #2781thepeople
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-04extend logging functionsthepeople
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02preinit: fix failsafe mode through ctrl+c on devices that do not provide a ↵nbd
preinit.arch file git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-24udev: Update udev package from udev-106 to udev-142geoff
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
2009-08-10[package] base-files: move ipv6 module loading from setup_interface() to ↵jow
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
2009-08-07base-files: clean up init.d/fstab and port it to the new config_getnbd
... 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