diff options
| author | p-wassi <p.wassi@gmx.at> | 2016-12-07 22:00:50 +0100 |
|---|---|---|
| committer | p-wassi <p.wassi@gmx.at> | 2016-12-07 22:00:50 +0100 |
| commit | 6aaca067d2a886bfb4cf7432a4e17ae0b546af5d (patch) | |
| tree | b37553f848695a93403b9912f411d986d5c3c561 /utils/gpsd | |
| parent | 5099e731b36139cdd2a95fc25ddce7b9c0ff7311 (diff) | |
utils/gpsd: remove hotplug script
Remove a hotplug script, which starts/stops gpsd with
attaching/detaching a PL2302 USB-UART device.
Signed-off-by: Paul Wassi <p.wassi@gmx.at>
Diffstat (limited to 'utils/gpsd')
| -rw-r--r-- | utils/gpsd/Makefile | 2 | ||||
| -rw-r--r-- | utils/gpsd/files/gpsd.hotplug | 16 |
2 files changed, 0 insertions, 18 deletions
diff --git a/utils/gpsd/Makefile b/utils/gpsd/Makefile index f57ecdc51..ee72b9508 100644 --- a/utils/gpsd/Makefile +++ b/utils/gpsd/Makefile @@ -122,8 +122,6 @@ define Package/gpsd/install $(INSTALL_CONF) ./files/gpsd.config $(1)/etc/config/gpsd $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/gpsd.init $(1)/etc/init.d/gpsd - $(INSTALL_DIR) $(1)/etc/hotplug.d/usb - $(INSTALL_DATA) ./files/gpsd.hotplug $(1)/etc/hotplug.d/usb/20-gpsd $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/gpsd $(1)/usr/sbin/ endef diff --git a/utils/gpsd/files/gpsd.hotplug b/utils/gpsd/files/gpsd.hotplug deleted file mode 100644 index fc15ddaee..000000000 --- a/utils/gpsd/files/gpsd.hotplug +++ /dev/null @@ -1,16 +0,0 @@ -case "$ACTION" in - add) - # start process - # only pl2303 devices are handled - if [ "$PRODUCT" = "67b/2303/300" ] && [ "$TYPE" = "0/0/0" ] && [ "$INTERFACE" = "255/0/0" ]; then - sleep 3 && /etc/init.d/gpsd start - fi - ;; - remove) - # stop process - # only pl2303 devices are handled - if [ "$PRODUCT" = "67b/2303/300" ] && [ "$TYPE" = "0/0/0" ] && [ "$INTERFACE" = "255/0/0" ]; then - /etc/init.d/gpsd stop - fi - ;; -esac |
