aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/devcpu/files
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-07-06 16:46:53 +0800
committerrm <rm@FreeBSD.org>2012-07-06 16:46:53 +0800
commitf1f4b07ea8826b7b2853ef5aadfbc93a95c7800f (patch)
treeb51f0e5b22a0367c6bf2c163059b94ad9fa59a04 /sysutils/devcpu/files
parent5cde6c01d68cbea297701340990b715a9dc2ab2c (diff)
downloadfreebsd-ports-gnome-f1f4b07ea8826b7b2853ef5aadfbc93a95c7800f.tar.gz
freebsd-ports-gnome-f1f4b07ea8826b7b2853ef5aadfbc93a95c7800f.tar.zst
freebsd-ports-gnome-f1f4b07ea8826b7b2853ef5aadfbc93a95c7800f.zip
Remove expired ports:
- sysutils/devcpu: Already included in base system - mail/squirreloutlook: Based on a vulnerable version of squirrelmail, use mail/squirrelmail for similar functionality
Diffstat (limited to 'sysutils/devcpu/files')
-rw-r--r--sysutils/devcpu/files/devcpu.in54
1 files changed, 0 insertions, 54 deletions
diff --git a/sysutils/devcpu/files/devcpu.in b/sysutils/devcpu/files/devcpu.in
deleted file mode 100644
index 54af29b3405e..000000000000
--- a/sysutils/devcpu/files/devcpu.in
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: devcpu
-# REQUIRE: root mountcritlocal
-# KEYWORD: nojail
-
-#
-# Add the following line to /etc/rc.conf to enable flow-capture:
-# devcpu_enable (bool): Set it to "YES" to update cpucodes on startup
-# Set to "NO" by default.
-# devcpu_datadir (str): Directory, cpucode updates stored in.
-# Default is "%%DATADIR%%"
-# devcpu_cpus (str): A list of cpus to update on startup, or "-a" for all.
-# Example: devcpu_cpus="cpu0 /dev/cpu1"
-# Set to "-a" by default.
-
-. /etc/rc.subr
-
-name="devcpu"
-rcvar=devcpu_enable
-stop_cmd=":"
-start_precmd="devcpu_prepare"
-start_cmd="devcpu_start"
-requires_modules="cpu"
-
-CMT="%%PREFIX%%/bin/cpu_microcode_tool"
-
-devcpu_prepare()
-{
- if ! kldstat -q -m cpu; then
- if ! kldload cpu > /dev/null 2>&1; then
- warn "Can't load cpu module."
- return 1
- fi
- fi
-}
-
-devcpu_start()
-{
- echo "Updating cpucodes."
- ${CMT} -I "${devcpu_datadir}" ${devcpu_cpus}
-}
-
-load_rc_config $name
-
-# Set default values
-: ${devcpu_enable="NO"}
-: ${devcpu_datadir="%%DATADIR%%"}
-: ${devcpu_cpus="-a"}
-
-run_rc_command "$1"