smartd: run the mail notification script with ${pkgs.stdenv.shell} rather than /bin/sh

svn path=/nixos/trunk/; revision=30568
This commit is contained in:
Peter Simons 2011-11-25 17:09:37 +00:00
parent 8eba736da9
commit ef932017fc
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ let
cfg = config.services.smartd;
smartdMail = pkgs.writeScript "smartdmail.sh" ''
#! /bin/sh
#! ${pkgs.stdenv.shell}
TMPNAM=/tmp/smartd-message.$$.tmp
if test -n "$SMARTD_ADDRESS"; then
echo >"$TMPNAM" "From: smartd <root>"