Author: simons
Date: Fri Nov 25 17:09:37 2011
New Revision: 30568
URL: https://nixos.org/websvn/nix/?rev=30568&sc=1
Log:
smartd: run the mail notification script with ${pkgs.stdenv.shell} rather than
/bin/sh
Modified:
nixos/trunk/modules/services/monitoring/smartd.nix
Modified: nixos/trunk/modules/services/monitoring/smartd.nix
==============================================================================
--- nixos/trunk/modules/services/monitoring/smartd.nix Fri Nov 25 17:04:26
2011 (r30567)
+++ nixos/trunk/modules/services/monitoring/smartd.nix Fri Nov 25 17:09:37
2011 (r30568)
@@ -7,7 +7,7 @@
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>"
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits