aboutsummaryrefslogtreecommitdiff
path: root/sysutils/diskprep
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2006-01-11 18:20:59 +0000
committerBrooks Davis <brooks@FreeBSD.org>2006-01-11 18:20:59 +0000
commitab69be96d04873cec1b7e6558a00c9939124e435 (patch)
treeb2f375f2dee20dca89f4d472309860007a4647fb /sysutils/diskprep
parentbe28d627ade5863f2dac156428e5aaf072b71a94 (diff)
downloadports-ab69be96d04873cec1b7e6558a00c9939124e435.tar.gz
ports-ab69be96d04873cec1b7e6558a00c9939124e435.zip
Notes
Diffstat (limited to 'sysutils/diskprep')
-rw-r--r--sysutils/diskprep/Makefile6
-rw-r--r--sysutils/diskprep/files/diskprep.in4
2 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/diskprep/Makefile b/sysutils/diskprep/Makefile
index 25118aa3f801..38b0867facee 100644
--- a/sysutils/diskprep/Makefile
+++ b/sysutils/diskprep/Makefile
@@ -7,9 +7,11 @@
PORTNAME= diskprep
PORTVERSION= 1.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
-MASTER_SITES= http://people.freebsd.org/~brooks/diskprep/
+MASTER_SITES= http://people.freebsd.org/~brooks/diskprep/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= brooks
MAINTAINER= brooks@FreeBSD.org
COMMENT= A program to prepare disks for use based on a config file
diff --git a/sysutils/diskprep/files/diskprep.in b/sysutils/diskprep/files/diskprep.in
index 8c16c8ef0db4..d4419c0df00c 100644
--- a/sysutils/diskprep/files/diskprep.in
+++ b/sysutils/diskprep/files/diskprep.in
@@ -6,8 +6,6 @@
# BEFORE: fsck localswap
# KEYWORD: nojail
-rc_debug=YES
-
. /etc/rc.subr
name="diskprep"
@@ -20,7 +18,7 @@ diskprep_prestart()
{
if [ -n "${diskprep_label}" ]; then
# If our label exists, we're done.
- if [ -c /dev/label/${curlabel} ]; then
+ if [ -c /dev/label/${diskprep_label} ]; then
return 0
fi
command_args="$command_args -l $diskprep_label"