Files
openwrt_yocto/meta-openwrt/recipes-tweaks/udev/eudev/udev.procd
T
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

31 lines
404 B
Bash

#!/bin/sh /etc/rc.common
START=05
STOP=95
USE_PROCD=1
PROG=/sbin/udevd
start_service() {
procd_open_instance
procd_set_param command $PROG
procd_set_param respawn
procd_close_instance
}
service_started() {
/sbin/udevadm control --env=STARTUP=1
/sbin/udevadm trigger --action=add
/sbin/udevadm settle
}
stop() {
service_stop $PROG
}
reload() {
service_reload $PROG
}