nico
83e18cc961
package/base-files: enhance service functions
...
* allow matching process by name (useful for processes changing it)
* check if first argument is executable
* fix function name used in error messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 13:53:15 +00:00
juhosg
29cb2db261
package: add om2p-watchdog script
...
Based on a patch by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:06 +00:00
blogic
396af9c62b
pjsip: bump to 1.10 and improve ltq_tapi backend
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-11 22:23:26 +00:00
jow
0eced37b72
[package] base-files: now that the initial password is completely empty (and not primed with "!") adjust login.sh for it to make telnetd available again
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-11 13:25:31 +00:00
nico
16913a975c
package/base-files-network: fix udhcpc issues introduced in r28866 ( closes : #10383 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-11 13:23:29 +00:00
jow
1643ed70b0
[package] mac80211: add antenna control api for b43
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-10 23:07:42 +00:00
florian
06d2d3ec5c
[package] acx-mac80211: update to 20111030
...
Fixes build failures with Linux 3.1+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-10 15:31:37 +00:00
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
85639cdac5
enable and use shadow passwords by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-10 12:55:01 +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
jogo
6aff8580da
package: kernel: fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 22:11:51 +00:00
jogo
41b338706b
package: kernel: add handling for 3.2 renames (and some missed ones for 3.1)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 21:16:52 +00:00
jogo
ac091033e8
package: mac80211: mark as broken for 3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 21:16:48 +00:00
jogo
b9ff7ec412
package: acx: mark as broken for 3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 21:16:45 +00:00
jogo
b2d3c3a7a5
package: madwifi: mark as broken for 3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 21:16:42 +00:00
jogo
4ef5b94744
target: linux: mtd: fix MTDREFRESH to an arbitrary high number
...
To make the ioctl number "stable", use an arbitrary high number to prevent
conflicts with new mtd ioctls that would push MTDREFRESH's number.
Also make mtd use the in-kernel mtd headers.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 21:16:36 +00:00
jow
81199b8bf5
[package] uhttpd: cope with DES crypted passwd entries by not relying on a leading dollar sign to indicate a cipher
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 18:55:28 +00:00
nico
b0ee088651
package/busybox: passwd: use MD5 hash by default (like it used to be)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 17:32:23 +00:00
juhosg
8f348ad02b
pacakge/iw: don't show a stray ']' if the chain signal attribute list is empty
...
Without the patch, the output of 'station dump' command looks weird in
some cases:
root@OpenWrt:/# iw dev wlan0 station dump
Station 00:21:27:cb:57:02 (on wlan0)
inactive time: 190 ms
rx bytes: 36652
rx packets: 149
tx bytes: 1998
tx packets: 16
tx retries: 0
tx failed: 0
signal: -31 ] dBm
signal avg: -30 [-32, -36] dBm
tx bitrate: 5.5 MBit/s
rx bitrate: 54.0 MBit/s
root@OpenWrt:/#
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 11:47:44 +00:00
jow
f7ec5e7119
[package] firewall: add DHCPv6 default rule ( #10381 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 11:10:37 +00:00
nico
6338cb5b06
package/base-files: /lib/functions.sh: add {group,user}_{add,exists} functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 00:23:58 +00:00
nico
dbfb368804
package/base-files: /lib/functions.sh: let service_stop exit early if no matching process to stop where found
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 23:35:13 +00:00
nico
4afd7dc6a4
package/relayd: use new service wrappers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 22:48:11 +00:00
nico
b3cd44ba12
package/ppp: use new service wrappers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 22:48:05 +00:00
nico
d0b622583b
package/linux-atm: use new service wrappers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 22:48:00 +00:00
nico
e7bca57cf8
package/base-files-network: use new service wrappers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 22:47:54 +00:00
nico
a12802298d
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 22:47:49 +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
jow
59a4de5391
[package] base-files: do not kill udhcpc on sysupgrade, it will tear down the interface if terminated
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 19:14:55 +00:00
jow
0c1b81f869
[package] base-files: do not assume that "top" is busybox' top, but try to call the applet explicitely
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 18:48:38 +00:00
jow
43e043890d
[package] base-files: properly handle wifi ifaces with no network attached, useful for unmanaged interfaces like used for batman or monitoring
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 14:42:58 +00:00
jow
51f0f920a8
[package] hostapd: add code to prevent accidentally bridging non-wds sta mode interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 14:22:56 +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
nbd
c68728567a
netifd: fix compile error when both libnl and libnl-tiny are built
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 10:12:31 +00:00
nbd
b76b60fcda
busybox: use bash for gen_build_files.sh to avoid printf argument list issues on some systems
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 00:33:10 +00:00
nico
ad906c1492
package/uhttpd: use new service wrapper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 22:59:06 +00:00
nico
8635717aeb
package/ubus: use new service wrapper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 22:59:01 +00:00
nico
390d5ffd22
package/netifd: use new service wrapper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 22:58:56 +00:00
nico
c9adf56187
package/dropbear: use new service wrapper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 22:58:50 +00:00
nico
4097f52f4c
package/dnsmasq: use new service wrapper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 22:58:45 +00:00
nico
40e13d06af
package/busybox: use new service wrapper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 22:58:39 +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
nbd
0a146d2694
ath9k: fix LED related crashes on AR913x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 20:14:09 +00:00
nbd
184801cc6b
carl9170: add dependency on kmod-input-core
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 14:50:04 +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
jow
6f3973eee4
[package] busybox: ntpd: indefinitely try to resolve peer addresses ( #10361 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 01:45:04 +00:00
jow
0920594b94
[package] uhttpd: provide rpath-link flag, thanks mazilo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 00:10:52 +00:00
jow
ab435ac770
[package] 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 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-06 19:57:07 +00:00