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:
parent
8eba736da9
commit
ef932017fc
|
@ -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>"
|
||||
|
|
Loading…
Reference in New Issue