summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-13 13:27:20 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-13 13:27:20 +0200
commit02e14c2816642c10e49d8368fa52b345241bd6e8 (patch)
tree4eb36ce8d09ec0e08db88e1e6e170e3e0a92ba22
parent2968de37d4eac2bac6699d059a86916559810d77 (diff)
downloadnixos-02e14c2816642c10e49d8368fa52b345241bd6e8.tar
nixos-02e14c2816642c10e49d8368fa52b345241bd6e8.tar.gz
nixos-02e14c2816642c10e49d8368fa52b345241bd6e8.tar.bz2
nixos-02e14c2816642c10e49d8368fa52b345241bd6e8.tar.xz
nixos-02e14c2816642c10e49d8368fa52b345241bd6e8.zip
-rw-r--r--custom/motion.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/motion.nix b/custom/motion.nix
index 712c1a61..b470541a 100644
--- a/custom/motion.nix
+++ b/custom/motion.nix
@@ -38,6 +38,8 @@ let
38 ''; 38 '';
39 39
40 preStart = pkgs.writeScript "motion-pre-start" '' 40 preStart = pkgs.writeScript "motion-pre-start" ''
41 #!${pkgs.stdenv.shell}
42
41 cat ${motionConfig} ${escapeShellArgs cfg.configFiles} > motion.conf 43 cat ${motionConfig} ${escapeShellArgs cfg.configFiles} > motion.conf
42 44
43 mkdir -p cameras 45 mkdir -p cameras