From ef932017fc9fae65fb4ddc0fb752c6a8b20c5096 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 25 Nov 2011 17:09:37 +0000 Subject: [PATCH] smartd: run the mail notification script with ${pkgs.stdenv.shell} rather than /bin/sh svn path=/nixos/trunk/; revision=30568 --- modules/services/monitoring/smartd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/monitoring/smartd.nix b/modules/services/monitoring/smartd.nix index 5a94caefd3b..a4c24c794d6 100644 --- a/modules/services/monitoring/smartd.nix +++ b/modules/services/monitoring/smartd.nix @@ -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 "