core/dkms/dkms.rc

23 lines
319 B
Plaintext
Raw Normal View History

2012-04-10 02:20:07 +08:00
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
DKMS=/usr/sbin/dkms
case "$1" in
start)
status 'Starting DKMS autoinstall' $DKMS autoinstall --kernelver $(uname -r)
;;
stop)
stat_busy "Stopping DKMS"
stat_done
;;
*)
echo "usage: ${0##*/} {start|stop}" >&2
;;
esac
:
# vim:set ts=2 sw=2 ft=sh noet: