Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | base-files: split service related functions off to /lib/functions/service.sh | Felix Fietkau | 2012-03-20 | 3 | -129/+131 |
| | | | | SVN-Revision: 31042 | ||||
* | Add munin to /etc/services | Jo-Philipp Wich | 2012-03-18 | 1 | -0/+1 |
| | | | | | | | | | | | | The muninlite postinst fails to add munin to /etc/services. This patch removes this broken postinst and add an entry for munin in /etc/services. This should have been done when the rest of the /etc/services postinsts were being removed (changesets 26142-26149). Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> SVN-Revision: 30982 | ||||
* | base-files: remove old coldplugging hacks that are no longer necessary since ↵ | Felix Fietkau | 2012-03-13 | 1 | -10/+0 |
| | | | | | | the new main hotplug2 instance calls udevtrigger as well SVN-Revision: 30916 | ||||
* | base-files: enable conntrack accounting in sysctl. It used to be a compile ↵ | Jo-Philipp Wich | 2012-03-04 | 2 | -1/+2 |
| | | | | | | time option which got deprecated SVN-Revision: 30805 | ||||
* | base-files: remove trailing whitespaces from lib/functions/boot.sh | Gabor Juhos | 2012-03-02 | 1 | -4/+4 |
| | | | | SVN-Revision: 30776 | ||||
* | base-files: remove trailing whitespaces from lib/functions.sh | Gabor Juhos | 2012-03-02 | 1 | -10/+10 |
| | | | | SVN-Revision: 30775 | ||||
* | base-files: add a uci-defaults script which will migrate the root password ↵ | Jo-Philipp Wich | 2012-01-22 | 2 | -1/+13 |
| | | | | | | to /etc/shadow if needed SVN-Revision: 29865 | ||||
* | base-files: the initial hotplug2 instance sometimes misses a few relevant ↵ | Felix Fietkau | 2012-01-22 | 1 | -0/+1 |
| | | | | | | events, e.g. during module load. rerun udevtrigger for the final hotplug2 instance to fix this SVN-Revision: 29862 | ||||
* | base-files: do not pass --set-worker /lib/hotplug2/worker_fork.so to ↵ | Jo-Philipp Wich | 2012-01-19 | 2 | -2/+1 |
| | | | | | | hotplug2 anymore, its statically linked - patch by Viktar Palstsiuk <viktar.palstsiuk@promwad.com> SVN-Revision: 29806 | ||||
* | base-files: implement a --force option for sysupgrade to override image ↵ | Jo-Philipp Wich | 2012-01-08 | 2 | -4/+13 |
| | | | | | | checks, useful to upgrade old ar71xx installations to current trunk ones SVN-Revision: 29688 | ||||
* | package/base-files: add support for the switch LED trigger | Gabor Juhos | 2011-12-31 | 2 | -1/+9 |
| | | | | SVN-Revision: 29629 | ||||
* | package/base-files: use case statement in led init script | Gabor Juhos | 2011-12-31 | 1 | -15/+27 |
| | | | | SVN-Revision: 29628 | ||||
* | base-files: add -b (--create-backup) option to sysupgrade, which generates a ↵ | Jo-Philipp Wich | 2011-12-20 | 2 | -3/+27 |
| | | | | | | backup .tar.gz according to the user settings. This will also be reused by LuCI. SVN-Revision: 29587 | ||||
* | base-files: add lib/functions/uci-defaults.sh | Gabor Juhos | 2011-12-01 | 1 | -0/+88 |
| | | | | SVN-Revision: 29384 | ||||
* | base-files: kill remaining processes after running user hooks (#10461) | Jo-Philipp Wich | 2011-11-19 | 2 | -3/+3 |
| | | | | SVN-Revision: 29256 | ||||
* | base-files: another empty password check fix (#10440) | Jo-Philipp Wich | 2011-11-17 | 2 | -2/+2 |
| | | | | SVN-Revision: 29208 | ||||
* | base-files: now that we have date -k, adjust the kernel timezone after ↵ | Jo-Philipp Wich | 2011-11-17 | 2 | -2/+5 |
| | | | | | | setting up TZ and localtime SVN-Revision: 29204 | ||||
* | base-files: rewrite killing of nonessential services to not rely on top, use ↵ | Jo-Philipp Wich | 2011-11-16 | 2 | -10/+18 |
| | | | | | | the proc filesystem only SVN-Revision: 29187 | ||||
* | base-files: prime root password with "x" to notify programs that there is a ↵ | Jo-Philipp Wich | 2011-11-14 | 3 | -3/+6 |
| | | | | | | shadow record, fix /bin/login.sh password detection accordingly. Solves broken key based dropbear login with empty password after r28935. SVN-Revision: 29130 | ||||
* | package/base-files: enhance service functions | Nicolas Thill | 2011-11-12 | 1 | -13/+27 |
| | | | | | | | | * allow matching process by name (useful for processes changing it) * check if first argument is executable * fix function name used in error messages SVN-Revision: 28991 | ||||
* | base-files: now that the initial password is completely empty (and not ↵ | Jo-Philipp Wich | 2011-11-11 | 2 | -3/+3 |
| | | | | | | primed with "!") adjust login.sh for it to make telnetd available again SVN-Revision: 28943 | ||||
* | nuke another 2.4 skeleton | Imre Kaloz | 2011-11-10 | 1 | -1/+0 |
| | | | | SVN-Revision: 28937 | ||||
* | enable and use shadow passwords by default | Imre Kaloz | 2011-11-10 | 1 | -5/+4 |
| | | | | SVN-Revision: 28936 | ||||
* | the empty root password should be empty ;) | Imre Kaloz | 2011-11-10 | 1 | -1/+1 |
| | | | | SVN-Revision: 28935 | ||||
* | base-files, target: assign name to system timeserver section, makes it ↵ | Jo-Philipp Wich | 2011-11-10 | 1 | -1/+1 |
| | | | | | | easier to set servers on the cli SVN-Revision: 28933 | ||||
* | package/base-files: /lib/functions.sh: add {group,user}_{add,exists} functions | Nicolas Thill | 2011-11-09 | 1 | -0/+37 |
| | | | | SVN-Revision: 28871 | ||||
* | package/base-files: /lib/functions.sh: let service_stop exit early if no ↵ | Nicolas Thill | 2011-11-08 | 1 | -1/+1 |
| | | | | | | matching process to stop where found SVN-Revision: 28870 | ||||
* | package/base-files: enhance & cleanup service wrappers | Nicolas Thill | 2011-11-08 | 2 | -27/+41 |
| | | | | | | | | | * 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 | ||||
* | package/base-files: move service* functions from /etc/rc.common to ↵ | Nicolas Thill | 2011-11-08 | 2 | -82/+82 |
| | | | | | | /lib/functions.sh SVN-Revision: 28864 | ||||
* | base-files: do not kill udhcpc on sysupgrade, it will tear down the ↵ | Jo-Philipp Wich | 2011-11-08 | 1 | -1/+1 |
| | | | | | | interface if terminated SVN-Revision: 28863 | ||||
* | base-files: do not assume that "top" is busybox' top, but try to call the ↵ | Jo-Philipp Wich | 2011-11-08 | 2 | -2/+2 |
| | | | | | | applet explicitely SVN-Revision: 28862 | ||||
* | base-files: properly handle wifi ifaces with no network attached, useful for ↵ | Jo-Philipp Wich | 2011-11-08 | 2 | -4/+6 |
| | | | | | | unmanaged interfaces like used for batman or monitoring SVN-Revision: 28860 | ||||
* | package/base-files: move /etc/functions.sh to /lib/functions.sh | Nicolas Thill | 2011-11-08 | 3 | -321/+322 |
| | | | | SVN-Revision: 28857 | ||||
* | package/base-files: use new service wrapper | Nicolas Thill | 2011-11-07 | 4 | -24/+26 |
| | | | | SVN-Revision: 28835 | ||||
* | package/base-files: /etc/rc.common: add service wrapper around start-stop-daemon | Nicolas Thill | 2011-11-07 | 1 | -1/+83 |
| | | | | SVN-Revision: 28834 | ||||
* | package/base-files: /etc/passwd: fix uid number for user 'daemon' ↵ | Nicolas Thill | 2011-11-07 | 1 | -1/+1 |
| | | | | | | (conflicting with user 'nobody') SVN-Revision: 28799 | ||||
* | base-files: process platform hotplug calls in the early launch of hotplug2 ↵ | Felix Fietkau | 2011-11-05 | 1 | -0/+4 |
| | | | | | | to avoid having crda calls get stuck at boot time (fixes #10350, #10354) SVN-Revision: 28768 | ||||
* | netifd: ensure that a bridge gets created before hostapd needs it, hostapd ↵ | Felix Fietkau | 2011-11-04 | 1 | -0/+1 |
| | | | | | | must not attempt to create the bridge by itself SVN-Revision: 28745 | ||||
* | base-files: load modules early, run wifi detect afterwards and only then ↵ | Felix Fietkau | 2011-11-03 | 1 | -6/+12 |
| | | | | | | | | process uci defaults this allows uci-defaults scripts to override wifi settings SVN-Revision: 28733 | ||||
* | base-files: add some more protected services to sysupgrade kill blacklist | Jo-Philipp Wich | 2011-11-03 | 2 | -2/+2 |
| | | | | SVN-Revision: 28732 | ||||
* | base-files: fix typo | Jo-Philipp Wich | 2011-10-30 | 1 | -1/+1 |
| | | | | SVN-Revision: 28681 | ||||
* | base-files: sysupgrade: kill all but essential processes before starting the ↵ | Jo-Philipp Wich | 2011-10-27 | 3 | -1/+30 |
| | | | | | | update SVN-Revision: 28626 | ||||
* | base-files/sysupgrade: add more busybox applet symlinks to ramdisk | Gabor Juhos | 2011-10-27 | 2 | -2/+7 |
| | | | | | | | | | Adds symlinks for printf and wc to make life happier in the sysupgrade ramdisk. Also make code more readable by escaping that overly long line. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 28616 | ||||
* | base-files: remove rdate integration, add busybox ntpd init script and ↵ | Jo-Philipp Wich | 2011-10-27 | 5 | -81/+41 |
| | | | | | | 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. SVN-Revision: 28612 | ||||
* | add an initial (experimental) version of netifd, disabled by default | Felix Fietkau | 2011-10-21 | 1 | -1/+6 |
| | | | | SVN-Revision: 28499 | ||||
* | base-files: move network related scripts to a separate package to make the ↵ | Felix Fietkau | 2011-10-20 | 9 | -979/+1 |
| | | | | | | transition to netifd easier SVN-Revision: 28495 | ||||
* | base-files: introduce "igmp_snooping" option to toggle IGMP snooping on ↵ | Jo-Philipp Wich | 2011-10-11 | 2 | -2/+4 |
| | | | | | | bridge interfaces SVN-Revision: 28412 | ||||
* | base-files: use "zonename" system option to symlink /etc/localtime via ↵ | Jo-Philipp Wich | 2011-09-26 | 2 | -1/+6 |
| | | | | | | /tmp/localtime to /usr/share/zoneinfo for glibc and eglibc SVN-Revision: 28306 | ||||
* | base-files: apply network interface settings such as macaddr, mtu and ↵ | Felix Fietkau | 2011-09-24 | 1 | -15/+9 |
| | | | | | | txqueuelen in prepare_interface instead of setup_interface. setting the mtu after the interface is up is unreliable on some drivers such as gianfar SVN-Revision: 28297 | ||||
* | base-files: make ip matching in dns add/remove functions more explicit, ↵ | Jo-Philipp Wich | 2011-09-23 | 2 | -3/+3 |
| | | | | | | avoids overmatching pairs like 1.2.3.35 and 1.2.3.3 SVN-Revision: 28291 |