summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc
AgeCommit message (Collapse)Author
2011-10-27[package] base-files: remove rdate integration, add busybox ntpd init script ↵jow
and server list in /etc/config/system The rdate applet proved to be too unreliable to obtain the current time on boot: - public time servers are rare and often unreachable or overloaded - rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions - the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations - the time protocol as specified in RFC 868 is considered obsolete This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly. The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or by clearing the timeserver list in /etc/config/system. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-20base-files: move network related scripts to a separate package to make the ↵nbd
transition to netifd easier git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-26[package] base-files: use "zonename" system option to symlink /etc/localtime ↵jow
via /tmp/localtime to /usr/share/zoneinfo for glibc and eglibc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-29base-files: remove an old network tunable tweak which is messing up network ↵nbd
stack performance on modern systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-12[package] base-files: fix arp() procedure to properly detect /usr/bin/arpjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-27base-files: warn when calling /etc/init.d/<script> enable and neither START ↵nbd
nor STOP is defined git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-15[package] base-files: use uci_toggle_state() to prevent unwanted aggregation ↵jow
of state vars (#9711) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07[package] base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. ↵cshore
This caused errors due to frequent use of /proc/cpuinfo to determine board name to pick led layout. Now diag.sh (which only defines set_state and any helper functions) is sourced by a proper preinit function during preinit_main, which is after /proc has been brought up, unlike in /etc/preinit git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03[package] base-files: pass conloglevel to syslogd (#9463, #9647)jow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07base-files: do not write to /etc/config/wireless at boot time unless a new ↵nbd
interface was found eliminates unnecessary flash write cycles at every boot patch by Peter Wagner (tripolar) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08[package] base-files: retrigger usb coldplug after module loading, solves ↵jow
usb_modeswitch on boot and possibly others (#9352) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07base-files: fix a typo in etc/bannerjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03[package] base-files: cleanup permissions of device files in common hotplug ↵jow
rules (#9211) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05[package] base-files: Use -h instead of deprecated -L for symlink checkacinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05[package] base-files: fix minor problem in init.d/bootacinonyx
The script tests for the existance of /dev/root with test -e which fails if /dev/root is a dangling symlink making the call to ln fail. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05[package] block-mount base-files: Added additional check to pi_include to ↵cshore
ensure that a directory used with pi_include actually contains files matching the souring pattern because if not the shell dies due to an empty string in for statement. Added /lib/functions/fsck as an empty dir to block-mount. This combination fixes a warning which generates a lot of bug reports, without panicking the kernel like the last attempt. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-18[package] base-files: properly handle vlans on top of wireless interfacesjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17[package] base-files: update sysctl.conf for modern kernelsjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15[package] base-files: Autodetect newly added wireless hardwareacinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13base-files: add a default /etc/services filesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13base-files: add users ftp (for ftp servers), network (network related ↵nbd
daemons such as tor, quagga, ...) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13base-files: add an ftp group as wellnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13base-files: add a few default groups to /etc/group so that we can get rid of ↵nbd
a few postinst scripts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25[package] base-files: fix sysctl handling, do not react on fake ifaces in ↵jow
route hotplug handler git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13it's time for some attitude adjustment ;)kaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12[package] base-files: remove ptbtime3 rdate server, its deadjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12[package] base-files: update rdate server listjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-11[package] base-files:jow
- properly disable IPv6 on bridge ports - introduce accept_ra option, defaults to true for dhcp interfaces, false for others - introduce send_rs option, defaults to true for static interfaces, false for others git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-07[package] base-files: Add include for target specific hotplug rulesacinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-06hotplug2 rules: Run /etc/hotplug.d/firmware/ scripts (if any) on firmware ↵mb
load events git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-03[package] base-files: don't stop hotplug events for ppp interfaces, similar ↵jow
fix like the earlier one for tun/tap interfaces git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-03[package] base-files: make the skipping of ppp interfaces in 10-net hotplug ↵jow
more explicit, this allows users to rely on hotplug events for ppp0 .. ppp9 interfaces spawned by other programs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02[package] base-files: Fix alsa raw audio device hotplug ruleacinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-01[package] hotplug2: Use stricter matching for rule regular expressionsacinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-31[package] base-files: Remove deprecated hotplug2 commands, update old ↵acinonyx
commands to new git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27[package] base-files: support port_state in led config (#6763)florian
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17base-files: add support for the usbdev LED triggerjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13base-files: use shutdown instead of stop when the system goes down (patch by ↵nbd
tripolar) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01[package] base-files: derive connect_time from uptime as local system time ↵jow
may warp due to rdate, ntp and other means git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01[package] base-files: save the connect time of interfaces in uci statejow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05[package] base-files:jow
- 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
2010-09-23[package] base/block-extroot, base/block-mount: Modified preinit and ↵cshore
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
2010-09-19[package] base-files: introduce service_kill() into functions.sh - a ↵jow
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
2010-08-14[package] base-files, uci: properly revert list state on config_loadjow
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
2010-08-06base_files: Remove . from end of localhost entryhcg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30[package] base-files: add "mtu" option for route sections, allows setting ↵jow
per-route mtu values git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12[package] base-files: enable IPv6 forwarding by default since the default ↵jow
firewall supports ip6tables now git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21766 3c298f89-4303-0410-b956-a3cf2f4a3e73
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