USE_PROCD=1
PROG=/sbin/logread
-extra_command "start_file" "Start writing to log file"
-
validate_log_section()
{
uci_load_validate system system "$1" "$2" \
register_mount_trigger()
{
- [ -n "${log_file}" ] && procd_add_action_mount_trigger start_file "${log_file}"
+ [ -n "${log_file}" ] && procd_add_action_mount_trigger start "${log_file}"
}
service_triggers()
config_foreach validate_log_section system start_service_remote
}
-start_file()
-{
- config_load system
- config_foreach validate_log_section system start_service_file
-}
-
boot() {
_BOOT=1 start
}