mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 19:30:37 +02:00
16 lines
295 B
Plaintext
16 lines
295 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
# Copyright (C) 2009 OpenWrt.org
|
||
|
|
||
|
if [ "${PRODUCT}" = "67b/2303/400" ] && [ "$TYPE" = "0/0/0" ] && [ "$INTERFACE" = "255/0/0" ]; then
|
||
|
case "$ACTION" in
|
||
|
add)
|
||
|
killall -s 9 sleep
|
||
|
killall -s 9 cgminer
|
||
|
sleep 1 && /etc/init.d/cgminer start &
|
||
|
;;
|
||
|
remove)
|
||
|
;;
|
||
|
esac
|
||
|
fi
|