1 .\" Title: remote-device-remove
3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
5 .\" Manual: Re-Mote Testbed Framework
6 .\" Source: remote-mci 2.0.git
8 .TH "REMOTE\-DEVICE\-REMO" "7" "05/18/2008" "remote\-mci 2\.0\.git" "Re\-Mote Testbed Framework"
9 .\" disable hyphenation
11 .\" disable justification (adjust text to left margin only)
14 remote-device-remove - script for cleaning up the Re-Mote device hierarchy
16 /lib/udev/remote\-device\-remove
19 This script is designed to be called via a UDEV rule\'s RUN key\. It cleans up after removed motes and notifies the motehost about the changed state of the device hierarchy\.
21 .SH "ENVIRONMENT VARIABLES"
25 This environment variable is set by UDEV\. Unless the value is "remove" the script will exit\.
29 /dev/remote/MOTEMAC/tty/control, /dev/remote/MOTEMAC/tty/data
31 Symlink to the mote\'s data and control TTY devices\. These are checked for existence in order to determine whether the mote directory and files created by
32 \fBremote\-device\-add(7)\fR
36 /var/log/remote\-udev\.log
38 Log file for the Re\-Mote UDEV scripts\.
41 /var/run/motehost\.events
43 Path to the pipe where the mote host can be notified about the remove event\.
46 This script should usually be run using a UDEV rule similar to the following:
51 SUBSYSTEM=="tty", ACTION=="remove", RUN+="/lib/udev/remote\-device\-remove"
58 Copyright (c) 2007 Jonas Fonseca <fonseca@diku\.dk>
59 Copyright (c) 2008 Rostislav Spinar <rostislav\.spinar@cit\.ie>
62 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version\.
65 \fBremote\-device\-add(7)\fR