File: gpsd.hotplug.wrapper

package info (click to toggle)
gpsd 2.33-4
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 2,900 kB
  • ctags: 1,861
  • sloc: ansic: 14,508; sh: 9,158; xml: 2,657; python: 1,446; makefile: 334; cpp: 120; perl: 22
file content (9 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#! /bin/sh

. /lib/udev/hotplug.functions

# wait for /usr & /var to be mounted
wait_for_file /usr/bin/python && \
wait_for_file /var/run && \
  exec /lib/udev/gpsd.hotplug "$ACTION" "$DEVNAME"