diff options
author | Kay Sievers <kay@vrfy.org> | 2012-04-09 20:45:45 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-04-09 21:18:30 +0200 |
commit | 2d13da8821b8197e62f819b5b996750800e910ab (patch) | |
tree | 836f04b564ea309eedae6c479cfe55da103fd9d5 /src/udev/udev-event.c | |
parent | 83cd6b754b270091840456a2c8a66dae19f5a7dc (diff) |
udev: remove RUN+="socket:.." and udev_monitor_new_from_netlink()
Diffstat (limited to 'src/udev/udev-event.c')
-rw-r--r-- | src/udev/udev-event.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c index 2b4cc6923e..afbfebb3a9 100644 --- a/src/udev/udev-event.c +++ b/src/udev/udev-event.c @@ -956,14 +956,6 @@ void udev_event_execute_run(struct udev_event *event, const sigset_t *sigmask) udev_event_apply_format(event, cmd, command, sizeof(command)); udev_builtin_run(event->dev, builtin_cmd, command, false); - } else if (strncmp(cmd, "socket:", strlen("socket:")) == 0) { - struct udev_monitor *monitor; - - monitor = udev_monitor_new_from_socket(event->udev, &cmd[strlen("socket:")]); - if (monitor == NULL) - continue; - udev_monitor_send_device(monitor, NULL, event->dev); - udev_monitor_unref(monitor); } else { char program[UTIL_PATH_SIZE]; char **envp; |