kaloz
d84d665eb3
[base-files]: nuke another 2.4 skeleton
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-10 13:39:06 +00:00
kaloz
6eae697cb7
[base-files]: the empty root password should be empty ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-10 12:47:50 +00:00
jow
329ee765ee
base-files, target: assign name to system timeserver section, makes it easier to set servers on the cli
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-10 12:16:41 +00:00
nico
1454b29603
package/base-files: move service* functions from /etc/rc.common to /lib/functions.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 22:47:41 +00:00
nico
a94c88d3c5
package/base-files: move /etc/functions.sh to /lib/functions.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 14:14:29 +00:00
nico
f3e5707f9a
package/base-files: use new service wrapper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 22:58:34 +00:00
nico
c51520101b
package/base-files: /etc/rc.common: add service wrapper around start-stop-daemon
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 22:58:27 +00:00
nico
e4b8affab5
package/base-files: /etc/passwd: fix uid number for user 'daemon' (conflicting with user 'nobody')
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 11:02:55 +00:00
nbd
9938a761e9
base-files: process platform hotplug calls in the early launch of hotplug2 to avoid having crda calls get stuck at boot time ( fixes #10350 , #10354 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-05 17:16:01 +00:00
nbd
a296f5fbac
base-files: load modules early, run wifi detect afterwards and only then process uci defaults
...
this allows uci-defaults scripts to override wifi settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-03 20:02:25 +00:00
jow
f8b2067e09
[package] base-files: remove rdate integration, add busybox ntpd init script 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-27 00:21:53 +00:00
nbd
032074b799
base-files: move network related scripts to a separate package to make the transition to netifd easier
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-20 15:01:06 +00:00
jow
f5b7b031f5
[package] base-files: use "zonename" system option to symlink /etc/localtime 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-09-26 02:28:04 +00:00
nbd
0b45693152
base-files: remove an old network tunable tweak which is messing up network stack performance on modern systems
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-29 23:34:11 +00:00
jow
408dcd4945
[package] base-files: fix arp() procedure to properly detect /usr/bin/arp
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-12 14:34:39 +00:00
nbd
2ed51448ae
base-files: warn when calling /etc/init.d/<script> enable and neither START nor STOP is defined
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-27 09:02:10 +00:00
jow
108528b2ce
[package] base-files: use uci_toggle_state() to prevent unwanted aggregation of state vars ( #9711 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-15 14:57:44 +00:00
cshore
4e5d6449f6
[package] base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. 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-07 02:52:02 +00:00
jow
56801fec4e
[package] base-files: pass conloglevel to syslogd ( #9463 , #9647 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:11:58 +00:00
nbd
7c8a20940f
base-files: do not write to /etc/config/wireless at boot time unless a new 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-06-07 17:00:43 +00:00
jow
6f14855dac
[package] base-files: retrigger usb coldplug after module loading, solves 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-08 10:25:58 +00:00
juhosg
fa0e25197e
base-files: fix a typo in etc/banner
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 09:23:33 +00:00
jow
8ade1960dd
[package] base-files: cleanup permissions of device files in common hotplug rules ( #9211 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:37:59 +00:00
acinonyx
f6d755eda4
[package] base-files: Use -h instead of deprecated -L for symlink check
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 15:09:43 +00:00
acinonyx
fdf5c18152
[package] base-files: fix minor problem in init.d/boot
...
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 15:09:32 +00:00
cshore
198ea09e92
[package] block-mount base-files: Added additional check to pi_include to 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-04-05 12:12:57 +00:00
jow
46dd8a523b
[package] base-files: properly handle vlans on top of wireless interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-18 18:24:51 +00:00
jow
9f59a573f4
[package] base-files: update sysctl.conf for modern kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 15:35:41 +00:00
acinonyx
898495ff41
[package] base-files: Autodetect newly added wireless hardware
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 00:44:15 +00:00
nbd
6c70430aed
base-files: add a default /etc/services files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 19:47:42 +00:00
nbd
39ab13caff
base-files: add users ftp (for ftp servers), network (network related daemons such as tor, quagga, ...)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 19:10:28 +00:00
nbd
55291327c3
base-files: add an ftp group as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 19:04:32 +00:00
nbd
2e230262d0
base-files: add a few default groups to /etc/group so that we can get rid of a few postinst scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 18:56:34 +00:00
jow
13bfc6e1cf
[package] base-files: fix sysctl handling, do not react on fake ifaces in route hotplug handler
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 22:44:37 +00:00
kaloz
d37749f1ac
it's time for some attitude adjustment ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 11:20:09 +00:00
jow
e662ecd9ca
[package] base-files: remove ptbtime3 rdate server, its dead
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 17:54:01 +00:00
jow
6e12beb80b
[package] base-files: update rdate server list
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 17:46:36 +00:00
jow
370e79ea76
[package] base-files:
...
- 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-11 00:39:11 +00:00
acinonyx
e81aa53453
[package] base-files: Add include for target specific hotplug rules
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-07 22:28:09 +00:00
mb
98292bc12a
hotplug2 rules: Run /etc/hotplug.d/firmware/ scripts (if any) on firmware load events
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-06 14:35:07 +00:00
jow
7376439413
[package] base-files: don't stop hotplug events for ppp interfaces, similar 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 22:43:11 +00:00
jow
3e9851ed3a
[package] base-files: make the skipping of ppp interfaces in 10-net hotplug 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-03 22:34:30 +00:00
acinonyx
4afdf2ad81
[package] base-files: Fix alsa raw audio device hotplug rule
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 01:23:34 +00:00
acinonyx
890d7a063e
[package] hotplug2: Use stricter matching for rule regular expressions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-01 16:37:53 +00:00
acinonyx
dd98a11a9c
[package] base-files: Remove deprecated hotplug2 commands, update old commands to new
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-31 22:29:31 +00:00
florian
220dd05b3c
[package] base-files: support port_state in led config ( #6763 )
...
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 21:49:46 +00:00
juhosg
25156f20f7
base-files: add support for the usbdev LED trigger
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:14 +00:00
nbd
574f469e14
base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 08:01:21 +00:00
jow
c151dac4be
[package] base-files: derive connect_time from uptime as local system time 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 19:55:24 +00:00
jow
4956084c97
[package] base-files: save the connect time of interfaces in uci state
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01 17:37:32 +00:00