PNG  IHDR* pHYs+ IDATx]n#; cdLb Ǚ[at¤_:uP}>!Usă cag޿ ֵNu`ݼTâabO7uL&y^wFٝA"l[|ŲHLN밪4*sG3|Dv}?+y߉{OuOAt4Jj.u]Gz*҉sP'VQKbA1u\`& Af;HWj hsO;ogTu uj7S3/QzUr&wS`M$X_L7r2;aE+ώ%vikDA:dR+%KzƉo>eOth$z%: :{WwaQ:wz%4foɹE[9<]#ERINƻv溂E%P1i01 |Jvҗ&{b?9g=^wζXn/lK::90KwrюO\!ջ3uzuGv^;騢wq<Iatv09:tt~hEG`v;3@MNZD.1]L:{ծI3`L(÷ba")Y.iljCɄae#I"1 `3*Bdz>j<fU40⨬%O$3cGt]j%Fߠ_twJ;ABU8vP3uEԑwQ V:h%))LfraqX-ۿX]v-\9I gl8tzX ]ecm)-cgʒ#Uw=Wlێn(0hPP/ӨtQ“&J35 $=]r1{tLuǮ*i0_;NƝ8;-vݏr8+U-kruȕYr0RnC]*ެ(M:]gE;{]tg(#ZJ9y>utRDRMdr9㪩̞zֹb<ģ&wzJM"iI( .ꮅX)Qw:9,i좜\Ԛi7&N0:asϓc];=ΗOӣ APqz93 y $)A*kVHZwBƺnWNaby>XMN*45~ղM6Nvm;A=jֲ.~1}(9`KJ/V F9[=`~[;sRuk]rєT!)iQO)Y$V ی ۤmzWz5IM Zb )ˆC`6 rRa}qNmUfDsWuˤV{ Pݝ'=Kֳbg,UҘVz2ﴻnjNgBb{? ߮tcsͻQuxVCIY۠:(V뺕 ٥2;t`@Fo{Z9`;]wMzU~%UA蛚dI vGq\r82iu +St`cR.6U/M9IENDB` REDROOM
PHP 5.6.40
Preview: Example8 Size: 1.11 KB
//usr/share/doc/smartmontools/examplescripts/Example8

#! /bin/sh
#
# This is a script from the smartmontools examplescripts/ directory.
# It can be used as an argument to the -M exec Directive in
# /etc/smartd.conf, in a line like
# ... -m root@localhost -M exec /path/to/this/file
#
# See also: smartd.conf(5), smartd(8).
#
# $Id: Example8 4937 2019-08-04 15:29:43Z chrfranke $

# Skip if '-m <nomailer>' is set
test -n "$SMARTD_ADDRESS" || exit 0

# Try mail[x]
for mailer in \
  $(which mail 2>/dev/null) \
  $(which mailx 2>/dev/null) \
  /usr/bin/mail \
  /usr/bin/mailx
do
  test -f "$mailer" || continue
  test -x "$mailer" || continue
  exec "$mailer" -s "${SMARTD_SUBJECT-[SMARTD_SUBJECT]}" $SMARTD_ADDRESS <<EOF
${SMARTD_FULLMESSAGE-[SMARTD_FULLMESSAGE]}
EOF
  exit $?
done

# Try sendmail
for sendmail in \
  /usr/sbin/sendmail \
  /usr/lib/sendmail
do
  test -f "$sendmail" || continue
  test -x "$sendmail" || continue
  exec "$sendmail" $SMARTD_ADDRESS <<EOF
Subject: ${SMARTD_SUBJECT-[SMARTD_SUBJECT]}
To: $(echo $SMARTD_ADDRESS | sed 's/ /, /g')

${SMARTD_FULLMESSAGE-[SMARTD_FULLMESSAGE]}
EOF
  exit $?
done

echo "$0: found none of 'mail', 'mailx' or 'sendmail'"
exit 1

Directory Contents

Dirs: 0 × Files: 9

Name Size Perms Modified Actions
1.50 KB lrw-r--r-- 2014-07-18 19:13:32
Edit Download
708 B lrw-r--r-- 2014-07-18 19:13:32
Edit Download
691 B lrw-r--r-- 2014-07-18 19:13:32
Edit Download
258 B lrw-r--r-- 2013-08-17 21:22:53
Edit Download
166 B lrw-r--r-- 2013-08-17 21:22:53
Edit Download
911 B lrw-r--r-- 2019-06-28 20:12:33
Edit Download
577 B lrw-r--r-- 2019-06-28 20:01:56
Edit Download
1.11 KB lrw-r--r-- 2019-08-04 15:29:43
Edit Download
2.12 KB lrw-r--r-- 2019-08-04 15:29:43
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 REDROOM — Secure File Manager. All rights reserved. Built with ❤️ & Red Dark UI