diff options
author | Brad Davis <brd@FreeBSD.org> | 2016-04-29 15:23:33 +0000 |
---|---|---|
committer | Brad Davis <brd@FreeBSD.org> | 2016-04-29 15:23:33 +0000 |
commit | 0480bb963dce5084d1b41a4d35ea31155f662158 (patch) | |
tree | 53a05e7d94f2c75916061b04dc9934db246cbe0b /misc/raspbsd-led | |
parent | 146c716b8c27dc5c1595865578bb110aeeb4eb71 (diff) | |
download | ports-0480bb963dce5084d1b41a4d35ea31155f662158.tar.gz ports-0480bb963dce5084d1b41a4d35ea31155f662158.zip |
Notes
Diffstat (limited to 'misc/raspbsd-led')
-rw-r--r-- | misc/raspbsd-led/Makefile | 2 | ||||
-rw-r--r-- | misc/raspbsd-led/distinfo | 4 | ||||
-rw-r--r-- | misc/raspbsd-led/files/flash-heartbeat-led.in | 19 |
3 files changed, 22 insertions, 3 deletions
diff --git a/misc/raspbsd-led/Makefile b/misc/raspbsd-led/Makefile index 3639ac5289be..ee25cf6c01d5 100644 --- a/misc/raspbsd-led/Makefile +++ b/misc/raspbsd-led/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= raspbsd-led -PORTVERSION= 0.1 +PORTVERSION= 0.2 DISTVERSIONPREFIX= v CATEGORIES= misc diff --git a/misc/raspbsd-led/distinfo b/misc/raspbsd-led/distinfo index d2b0819a67bc..53b2fcd5b51c 100644 --- a/misc/raspbsd-led/distinfo +++ b/misc/raspbsd-led/distinfo @@ -1,2 +1,2 @@ -SHA256 (raspbsd-raspbsd-led-v0.1_GH0.tar.gz) = 11d12360014fae4cfac42fe77db575592c30c3c7708b5e356010591efb7136ad -SIZE (raspbsd-raspbsd-led-v0.1_GH0.tar.gz) = 835 +SHA256 (raspbsd-raspbsd-led-v0.2_GH0.tar.gz) = acdea71bb76f1e3e1bda0e5da0c1519478e8761c4b6fae01db495d2c40bda2a6 +SIZE (raspbsd-raspbsd-led-v0.2_GH0.tar.gz) = 1106 diff --git a/misc/raspbsd-led/files/flash-heartbeat-led.in b/misc/raspbsd-led/files/flash-heartbeat-led.in new file mode 100644 index 000000000000..36d05e4b13e8 --- /dev/null +++ b/misc/raspbsd-led/files/flash-heartbeat-led.in @@ -0,0 +1,19 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: flash-heartbeat-led +# REQUIRE: LOGIN +# KEYWORD: shutdown + +. /etc/rc.subr + +name=flash_heartbeat_led +rcvar="${name}_enable" +command="%%PREFIX%%/sbin/flash-heartbeat-led" +load_rc_config $name +: ${flash_heartbeat_ledd_enable:="NO"} +pidfile="/var/run/flash-heartbeat-led.pid" + +run_rc_command "$1" |