mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
21 lines
366 B
Bash
21 lines
366 B
Bash
#!/bin/bash
|
|
LMCTL_ARGS=
|
|
[ -f /etc/conf.d/lmctl ] && . /etc/conf.d/lmctl
|
|
|
|
. /etc/rc.conf
|
|
. /etc/rc.d/functions
|
|
|
|
case "$1" in
|
|
start)
|
|
stat_busy "Setting up Logitech Mouse"
|
|
/usr/bin/lmctl ${LMCTL_ARGS} &>/dev/null
|
|
if [ $? -eq 0 ] ; then
|
|
stat_fail
|
|
else
|
|
stat_done
|
|
add_daemon lmctl
|
|
fi
|
|
;;
|
|
*)
|
|
echo "usage: $0 {start}"
|
|
esac
|