File: ipw3945d-stop

package info (click to toggle)
ipw3945d 1.7.22-4
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 232 kB
  • ctags: 3
  • sloc: sh: 119; makefile: 34
file content (8 lines) | stat: -rw-r--r-- 288 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/usr/bin/env /bin/bash
PIDPATH=/var/run/ipw3945d
# Kill the regulatory daemon if it is running:
/sbin/ipw3945d --isrunning --pid-file=${PIDPATH}/ipw3945d.pid &&
	/sbin/ipw3945d --kill --pid-file=${PIDPATH}/ipw3945d.pid

# Remove the PID directory
[ -d ${PIDPATH} ] && rm -rf ${PIDPATH}