Skip to content

Instantly share code, notes, and snippets.

@xiongyihui
Created January 11, 2013 11:12
Show Gist options
  • Save xiongyihui/4509923 to your computer and use it in GitHub Desktop.
Save xiongyihui/4509923 to your computer and use it in GitHub Desktop.
OpenWRT中Hotplug服务的配置文件
$include /etc/hotplug2-common.rules
SUBSYSTEM ~~ (^net$|input$|^button$|^usb$|^ieee1394$|^block$|^atm$|^zaptel$|tty$) {
exec /sbin/hotplug-call %SUBSYSTEM%
}
DEVICENAME == watchdog {
exec /sbin/watchdog -t 5 /dev/watchdog
next-event
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment