Commit graph

5933 commits

Author SHA1 Message Date
Nicolas Thill
b7b56df707 package/base-files: enhance & cleanup service wrappers
* add service_check function for checking if a process is alive
 * add service_signal for sending arbitrary signals to a process
 * change service_stop to send a TERM signal first, wait for the process to die and send a KILL signal if it doen't
 * have service_kill print a warning on STDERR stating it has been deprecated

SVN-Revision: 28865
2011-11-08 22:47:49 +00:00
Nicolas Thill
d0659ce37e package/base-files: move service* functions from /etc/rc.common to /lib/functions.sh
SVN-Revision: 28864
2011-11-08 22:47:41 +00:00
Jo-Philipp Wich
7e3b6aa1f1 base-files: do not kill udhcpc on sysupgrade, it will tear down the interface if terminated
SVN-Revision: 28863
2011-11-08 19:14:55 +00:00
Jo-Philipp Wich
daca6a6a97 base-files: do not assume that "top" is busybox' top, but try to call the applet explicitely
SVN-Revision: 28862
2011-11-08 18:48:38 +00:00
Jo-Philipp Wich
a73fffe857 base-files: properly handle wifi ifaces with no network attached, useful for unmanaged interfaces like used for batman or monitoring
SVN-Revision: 28860
2011-11-08 14:42:58 +00:00
Jo-Philipp Wich
ec20b84048 hostapd: add code to prevent accidentally bridging non-wds sta mode interfaces
SVN-Revision: 28858
2011-11-08 14:22:56 +00:00
Nicolas Thill
b6aef59ea8 package/base-files: move /etc/functions.sh to /lib/functions.sh
SVN-Revision: 28857
2011-11-08 14:14:29 +00:00
Felix Fietkau
9906717bfb netifd: fix compile error when both libnl and libnl-tiny are built
SVN-Revision: 28854
2011-11-08 10:12:31 +00:00
Felix Fietkau
3a12bd8bce busybox: use bash for gen_build_files.sh to avoid printf argument list issues on some systems
SVN-Revision: 28849
2011-11-08 00:33:10 +00:00
Nicolas Thill
75e186832a package/uhttpd: use new service wrapper
SVN-Revision: 28841
2011-11-07 22:59:06 +00:00
Nicolas Thill
d7409c85b5 package/ubus: use new service wrapper
SVN-Revision: 28840
2011-11-07 22:59:01 +00:00
Nicolas Thill
7a176742bb package/netifd: use new service wrapper
SVN-Revision: 28839
2011-11-07 22:58:56 +00:00
Nicolas Thill
be27ac53f2 package/dropbear: use new service wrapper
SVN-Revision: 28838
2011-11-07 22:58:50 +00:00
Nicolas Thill
4f5cbf9f9b package/dnsmasq: use new service wrapper
SVN-Revision: 28837
2011-11-07 22:58:45 +00:00
Nicolas Thill
e4a8f5abe6 package/busybox: use new service wrapper
SVN-Revision: 28836
2011-11-07 22:58:39 +00:00
Nicolas Thill
93886bc776 package/base-files: use new service wrapper
SVN-Revision: 28835
2011-11-07 22:58:34 +00:00
Nicolas Thill
10a03275bf package/base-files: /etc/rc.common: add service wrapper around start-stop-daemon
SVN-Revision: 28834
2011-11-07 22:58:27 +00:00
Felix Fietkau
0fb7c80659 ath9k: fix LED related crashes on AR913x
SVN-Revision: 28809
2011-11-07 20:14:09 +00:00
Felix Fietkau
476ca6d5d1 carl9170: add dependency on kmod-input-core
SVN-Revision: 28808
2011-11-07 14:50:04 +00:00
Nicolas Thill
8413e90418 package/base-files: /etc/passwd: fix uid number for user 'daemon' (conflicting with user 'nobody')
SVN-Revision: 28799
2011-11-07 11:02:55 +00:00
Jo-Philipp Wich
ef98919ff0 busybox: ntpd: indefinitely try to resolve peer addresses (#10361)
SVN-Revision: 28794
2011-11-07 01:45:04 +00:00
Jo-Philipp Wich
8189bd9260 uhttpd: provide rpath-link flag, thanks mazilo
SVN-Revision: 28792
2011-11-07 00:10:52 +00:00
Jo-Philipp Wich
ee875810eb madwifi: change wireless ifname numbering schema Instead of simply counting up until we hit a free iface, group ifnames by wiphy so that the first wlanX on a phy gets the phy number and following ifaces an index-suffix, e.g. ath0 for network 1 on phy 1 and ath0-1 for network 2 on phy 1. This fixes state var confusion when operating multiple radios and allows to reliably take down and restart one radio only, even if the number of networks changes in between. This should, along with other changes in LuCI, fix #10335.
SVN-Revision: 28785
2011-11-06 19:57:07 +00:00
Jo-Philipp Wich
d7205a9021 mac80211: change wireless ifname numbering schema Instead of simply counting up until we hit a free iface, group ifnames by wiphy so that the first wlanX on a phy gets the phy number and following ifaces an index-suffix, e.g. wlan0 for network 1 on phy 1 and wlan0-1 for network 2 on phy 1. This fixes state var confusion when operating multiple radios and allows to reliably take down and restart one radio only, even if the number of networks changes in between. This should, along with other changes in LuCI, fix #10335.
SVN-Revision: 28784
2011-11-06 18:49:17 +00:00
Jo-Philipp Wich
6037187a80 uhttpd: Fix wrong certificate options with multiple words
For instance two word city names will result in weird certificates.
Therefore adding the missing quotations.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>

SVN-Revision: 28776
2011-11-06 15:44:42 +00:00
Felix Fietkau
2201e32df3 ath9k: add some fixes for radio reinit and frame flush
SVN-Revision: 28772
2011-11-05 19:51:32 +00:00
Felix Fietkau
973308ebfe mac80211: update to wireless-testing 2011-11-04
SVN-Revision: 28771
2011-11-05 19:51:16 +00:00
Jo-Philipp Wich
fcea88e3b5 uhttpd: fix Makefiles and linking of tls plugin
SVN-Revision: 28769
2011-11-05 17:36:47 +00:00
Felix Fietkau
248ab4ac2f 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)
SVN-Revision: 28768
2011-11-05 17:16:01 +00:00
Jo-Philipp Wich
3c96dee342 uhttpd: bump version
SVN-Revision: 28762
2011-11-05 03:19:29 +00:00
Jo-Philipp Wich
3d035a6f6a uhttpd: rework CyaSSL and OpenSSL integration; move protected recv() and send() operations below the ssl layer - fixes hangs when accessing via https
SVN-Revision: 28761
2011-11-05 03:19:07 +00:00
Felix Fietkau
c8321c3ca6 hostapd: update to latest git version
SVN-Revision: 28746
2011-11-04 01:05:26 +00:00
Felix Fietkau
dab5ebaa76 netifd: ensure that a bridge gets created before hostapd needs it, hostapd must not attempt to create the bridge by itself
SVN-Revision: 28745
2011-11-04 01:05:12 +00:00
Felix Fietkau
d4d91df5fe netifd: start wifi at boot
SVN-Revision: 28738
2011-11-03 20:02:52 +00:00
Felix Fietkau
3ac5165690 netifd: update to latest version, fix redundant ifdown hotplug events
SVN-Revision: 28737
2011-11-03 20:02:47 +00:00
Felix Fietkau
eff467b5cc openssl: refresh patches
SVN-Revision: 28736
2011-11-03 20:02:42 +00:00
Felix Fietkau
faf5f84cbf openssl: update to 1.0.0e (patch by tripolar)
SVN-Revision: 28735
2011-11-03 20:02:36 +00:00
Felix Fietkau
44ba13b578 base-files: load modules early, run wifi detect afterwards and only then process uci defaults
this allows uci-defaults scripts to override wifi settings

SVN-Revision: 28733
2011-11-03 20:02:25 +00:00
Jo-Philipp Wich
e3daeabda3 base-files: add some more protected services to sysupgrade kill blacklist
SVN-Revision: 28732
2011-11-03 19:25:25 +00:00
Jo-Philipp Wich
48c37ff7eb qos-scripts: only use the lower 8 bits for firewall marks, allows coexistence with other programs like nodogsplash - patch by Tobias Wolf (#10096)
SVN-Revision: 28731
2011-11-03 19:11:01 +00:00
Nicolas Thill
89827e33ce package/busybox: update to 1.19.3
SVN-Revision: 28725
2011-11-03 15:55:23 +00:00
John Crispin
f78a0b80cc modules: fixes ko files that were renamed in 3.1
SVN-Revision: 28724
2011-11-03 15:16:50 +00:00
John Crispin
4263d93da0 ltq-dsl: fixes driver for targets other than danube
SVN-Revision: 28723
2011-11-03 15:16:39 +00:00
John Crispin
d47e4959d2 ltq-vmmc: should be available for falcon and danube only
SVN-Revision: 28722
2011-11-03 15:16:25 +00:00
Nicolas Thill
d8722fac70 package/dropbear: fix segfault with remote port forwarding (closes: #10339)
SVN-Revision: 28718
2011-11-03 08:12:17 +00:00
Daniel Dickinson
c4e9e4d27e block-mount: Fixed module loading (double cat is wrong)
SVN-Revision: 28717
2011-11-02 18:38:38 +00:00
Felix Fietkau
b8d90aceb2 netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet)
SVN-Revision: 28713
2011-11-01 22:02:40 +00:00
Felix Fietkau
039658f8b3 netifd: update to latest version, fixes handling of hotplug devices (for wifi)
SVN-Revision: 28712
2011-11-01 22:02:33 +00:00
Felix Fietkau
48a77bb98b mac80211: update to wireless-testing 2011-11-01
SVN-Revision: 28711
2011-11-01 22:02:27 +00:00
Felix Fietkau
2afada967c iw: fix setting txpower (#10254)
SVN-Revision: 28710
2011-11-01 19:16:52 +00:00