summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
Commit message (Collapse)AuthorAgeFilesLines
* [package] base-files:jow2010-10-051-0/+5
| | | | | | | | | | | | - add sysupgrade support for keepfile hints * introduces /lib/upgrade/keep.d/ for per-package keepfile lists * introduces /etc/sysupgrade.conf for user defined keepfile hints - prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg - change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and opkg list-changed-conffiles git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base/block-extroot, base/block-mount: Modified preinit and ↵cshore2010-09-232-6/+27
| | | | | | | | | | | | | | | | | | block-extroot and block-mount so that use of block-mount and block-extroot do not require that block-extroot, block-mount, nor the kernel modules they depend, on are required to included in the image. That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of a squashfs system and it will work. In addition packages which are installed into the jffs2 of a squashfs system may now affect preinit, so long as they do not require execution of commands that occur before the merging of the jffs2 and built-in (squashfs) preinit scripts is done. Thanks jow for the preinit merge stuff! git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: introduce service_kill() into functions.sh - a ↵jow2010-09-191-0/+17
| | | | | | convenience wrapper for killing services by pid or pidfile with a grace period for termination before kill git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files, uci: properly revert list state on config_loadjow2010-08-141-0/+1
| | | | | | | | This fixes a bug where lists end up with duplicate values if config_load was invoked multiple times. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base_files: Remove . from end of localhost entryhcg2010-08-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add "mtu" option for route sections, allows setting ↵jow2010-06-301-2/+6
| | | | | | per-route mtu values git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: enable IPv6 forwarding by default since the default ↵jow2010-06-121-1/+1
| | | | | | firewall supports ip6tables now git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21766 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:jow2010-06-021-1/+2
| | | | | | | | | | | - 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
* [package] base-file: move alias setup to route hotplug, this fixes alias ↵jow2010-06-011-0/+28
| | | | | | 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
* [package] base-files: don't skip subsequent hotplug rules when doing makedev ↵jow2010-05-311-1/+0
| | | | | | 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
* [package] base-files: 3g connection interfaces are now called "3g-*" - ↵jow2010-05-281-1/+1
| | | | | | adjust 10-net hotplug handler to match them git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: respect .auto option when running ↵jow2010-05-271-1/+4
| | | | | | coldplug_interface_*() hooks on boot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21588 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files (#7316)jow2010-05-173-42/+77
| | | | | | | | | | - 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
* [package] base-files: use uci_get() wrapper (#7312)jow2010-05-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add a coldplug_interface_* hook to bring up ↵jow2010-05-061-0/+11
| | | | | | non-hotpluggable interfaces on boot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21389 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: do not bring up wlan interfaces from hotplug events, so that ↵nbd2010-05-051-0/+2
| | | | | | wrong network/wireless configs are more noticeable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Remove redundant stopping of watchdogacinonyx2010-05-031-1/+0
| | | | | | 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
* [package] add stop() to watchdog init script, patch from Yury Polyanskiyflorian2010-05-031-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix bug in foregrounding in /etc/init.d/rcSflorian2010-04-161-2/+6
| | | | | | | | 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
* [package] option to allow boot to run to completion before starting shellflorian2010-04-131-1/+6
| | | | | | | | | | | | | 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
* [package] add debugging entry to hotplug configflorian2010-04-101-0/+6
| | | | | | | | 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
* [package] base-files: Use hotplug2 to download firmwareacinonyx2010-04-031-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: also regenerate wifi config if existing config ↵jow2010-04-031-2/+5
| | | | | | contains only whitespace git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix shell syntax (prevent error messages when ↵nico2010-03-291-1/+1
| | | | | | activating initscripts in IB) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add a hotplug handler for rdatejow2010-03-272-0/+55
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20518 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: reload switch settings on /etc/init.d/network start as wellnbd2010-03-151-5/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix preinit code typosnico2010-03-101-1/+1
| | | | | | | | | 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
* add the block-mount package by Daniel Dickinson (cshore), replacing existing ↵nbd2010-02-263-93/+0
| | | | | | automount functionality git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19877 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add /dev/hvcX to hotplug common rulesjow2010-02-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19608 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Here is LVM support for OpenWRT. It introduces 3 new packages:thepeople2010-02-121-0/+6
| | | | | | | | | | | - 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
* [base-files] Don't do lazy unmounting of filessystems at reboot/poweroff.lars2010-02-091-1/+1
| | | | | | | | 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
* when rebooting, use lazy umounts as fallback (patch by puchu)nbd2010-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 ↵nbd2010-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 ↵nbd2010-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 ↵nbd2010-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)nbd2010-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 ↵jow2010-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 defaultjow2010-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 ↵nbd2010-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)nbd2009-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 ↵nbd2009-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 ↵nbd2009-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 defaultnbd2009-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 presentjow2009-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)jow2009-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 :)nico2009-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 ↵jow2009-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" ↵nbd2009-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 #2781thepeople2009-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 ↵juhosg2009-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