* [sisyphus] smartmontools-5.1.10-alt1 wanted
@ 2003-11-10 6:17 Grigory Batalov
2003-11-10 7:54 ` Sergey Vlasov
0 siblings, 1 reply; 2+ messages in thread
From: Grigory Batalov @ 2003-11-10 6:17 UTC (permalink / raw)
To: sisyphus
Разыскивается пакет smartmontools версии 5.1.10-alt1
или хотя бы инит-скрипты из него.
Был в Сизифе предположительно до 17 июня.
--
Григорий Баталов,
группа техподдержки
ОАО "Ковдорский ГОК"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [sisyphus] smartmontools-5.1.10-alt1 wanted
2003-11-10 6:17 [sisyphus] smartmontools-5.1.10-alt1 wanted Grigory Batalov
@ 2003-11-10 7:54 ` Sergey Vlasov
0 siblings, 0 replies; 2+ messages in thread
From: Sergey Vlasov @ 2003-11-10 7:54 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1.1: Type: text/plain, Size: 252 bytes --]
On Mon, Nov 10, 2003 at 09:17:26AM +0300, Grigory Batalov wrote:
> Разыскивается пакет smartmontools версии 5.1.10-alt1
> или хотя бы инит-скрипты из него.
Ну вот, началось :)
Так и придётся в новой версии старый скрипт положить рядом в src.rpm.
[-- Attachment #1.2: smartd --]
[-- Type: text/plain, Size: 1253 bytes --]
#! /bin/sh
#
# smartd Start/Stop the smartd daemon.
#
# chkconfig: 2345 40 60
# description: Self Monitoring and Reporting Technology (S.M.A.R.T.) Daemon \
# monitors the reliability of ATA and SCSI hard drives.
# processname: smartd
# config: /etc/smartd.conf
# pidfile: /var/run/smartd.pid
# Source function library
. /etc/init.d/functions
# Get config.
SourceIfNotEmpty /etc/sysconfig/smartd
SMARTD=/usr/sbin/smartd
LOCKFILE=/var/lock/subsys/smartd
PIDFILE=/var/run/smartd.pid
RETVAL=0
start()
{
echo -n "Starting smartd: "
daemon $SMARTD "-p $PIDFILE $EXTRAOPTIONS"
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch "$LOCKFILE"
return $RETVAL
}
stop()
{
echo -n "Stopping smartd: "
killproc smartd
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f "$LOCKFILE"
return $RETVAL
}
restart()
{
stop
start
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
restart
;;
condstop)
if [ -e "$LOCKFILE" ]; then
stop
fi
;;
condrestart)
if [ -e "$LOCKFILE" ]; then
restart
fi
;;
status)
status smartd
RETVAL=$?
;;
*)
echo "Usage: ${0##*/} {start|stop|restart|reload|condstop|condrestart|status}"
RETVAL=1
esac
exit $RETVAL
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-10 7:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-10 6:17 [sisyphus] smartmontools-5.1.10-alt1 wanted Grigory Batalov
2003-11-10 7:54 ` Sergey Vlasov
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git