summaryrefslogtreecommitdiffstats
path: root/initd
AgeCommit message (Collapse)Author
2015-09-15move /dev/shm to /tmp/shmDaniel Gimpelevich
Since the /dev filesystem is tiny, /dev/shm needs to live somewhere else. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
2015-06-18fix /dev/shm permissions, this time for realDaniel Gimpelevich
Previous patch did not account for umask, now adding that. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
2015-06-17fix /dev/shm permissionsDaniel Gimpelevich
On my Ubuntu system, the permissions are 1777. They are incorrect in procd, leading to this: https://forum.openwrt.org/viewtopic.php?id=57073 This in intended for both CC and DD. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
2015-05-23remove ->John Crispin
[ 1.240000] init: failed to symlink /tmp -> /var Signed-off-by: John Crispin <blogic@openwrt.org>
2015-03-28properly handle return codesJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2015-03-12switch to _DEFAULT_SOURCE for modern glibc compatJohn Crispin
Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
2015-02-25Convert log calls to ulog() apiJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-28procd: increase memory allocated for tmpfs on zramNathan Hintz
Devices with <= 32MB of ram get half of memory allocated to zram (up to 16MB). Devices with > 32MB of ram get just 8MB of memory allocated to zram. Increase memory allocated to devices with > 32MB ram to 16MB. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
2014-12-02previous commit accidentiall dropped the cgroup mountJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2014-12-02add support for zram compressed tmpfsJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2014-11-14initd: mount cgroupLuka Perkov
If kernel is compiled with cgroup support it should be mounted. This change does not effect kernels without cgroup support. Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-11-05kmodloader takes longer than wdt timeoutJohn Crispin
on systms with slow flash the watchdog will trigger when a lot of modules are included in the image. Signed-off-by: John Crispin <blogic@openwrt.org>
2014-10-12Use one generic routine to access /proc/cmdlineMichel Stam
Signed-off-by: Michel Stam <m.stam@fugro.nl>
2014-10-06Fix scroll lock blocking procdJohn Crispin
On x86, pressing the scrolllock button may effectively prevent procd from rebooting the system. This happens because procd tries to write to /dev/console, which in that situation is blocked, effectively blocking procd from rebooting the system. This patch puts procd's stderr access into non-blocking, which will prevent the boot from being stuck. Signed-off-by: Michel Stam <m.stam@fugro.nl>
2014-06-11Increase buffers for hotplug and cmdline for UMLSteven Barth
Thanks to Markus Stenberg for debugging and testing. Signed-off-by: Steven Barth <steven@midlink.org>
2014-06-05wait for kmod loader to complete on first bootJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-11-22cleanup debug level handoverJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-11-18add debug level handover between preinit and main processJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-11-15debloat and reorganize codeJohn Crispin
split app into procd and init binaries remove log support, this is an external service now Signed-off-by: John Crispin <blogic@openwrt.org>