mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 10:01:20 +00:00
* Added warning logging * Added missing default kmod * Added missing kernel feature for IO scheduling Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
15 lines
275 B
Bash
15 lines
275 B
Bash
#!/bin/sh /etc/rc.common
|
|
|
|
USE_PROCD=1
|
|
START=25
|
|
|
|
start_service() {
|
|
local nofile=$(cat /proc/sys/fs/nr_open)
|
|
|
|
procd_open_instance
|
|
procd_set_param stderr 1
|
|
procd_set_param command /usr/bin/dockerd
|
|
procd_set_param limits nofile="${nofile} ${nofile}"
|
|
procd_close_instance
|
|
}
|