- Update to 2.4

PR:		ports/126964
Submitted by:	Bruce Cran (maintainer)
This commit is contained in:
Philippe Audeoud 2008-09-02 08:09:19 +00:00
parent c2df5e59c9
commit fa5f99d53e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219645
3 changed files with 15 additions and 15 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= ataidle
PORTVERSION= 2.3
PORTVERSION= 2.4
CATEGORIES= sysutils
MASTER_SITES= http://www.cran.org.uk/bruce/software/

View File

@ -1,3 +1,3 @@
MD5 (ataidle-2.3.tar.gz) = cce9d298fa83aeab7bda4c9db8372a97
SHA256 (ataidle-2.3.tar.gz) = 2ddb3688e47b6a60855ac0ae60390d1f415357f478252953557c6948a0fb6e98
SIZE (ataidle-2.3.tar.gz) = 12504
MD5 (ataidle-2.4.tar.gz) = 3ee04fd939d134c8ab0e72b8848722d4
SHA256 (ataidle-2.4.tar.gz) = 58c651eeea1fd9053fefcca5ebef53ddb4af7ad72f68873ca012d033e71fef48
SIZE (ataidle-2.4.tar.gz) = 11863

View File

@ -37,18 +37,18 @@ load_rc_config $name
ataidle_start()
{
if [ -n "${ataidle_device}" -a -z "${ataidle_devices}" ]; then
echo "warning: old ataidle rc settings found"
ataidle_devices=${ataidle_device}
fi
if [ -n "${ataidle_device}" -a -z "${ataidle_devices}" ]; then
echo "warning: old ataidle rc settings found"
ataidle_devices=${ataidle_device}
fi
if [ -n "${ataidle_devices}" ]; then
for i in ${ataidle_devices}; do
eval ataidle_args=\$ataidle_${i}
echo "ATAidle: configuring device /dev/${i}"
${command} ${ataidle_args} /dev/${i}
done
fi
if [ -n "${ataidle_devices}" ]; then
for i in ${ataidle_devices}; do
eval ataidle_args=\$ataidle_${i}
echo "ATAidle: configuring device /dev/${i}"
${command} ${ataidle_args} /dev/${i}
done
fi
}
run_rc_command "$1"