summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-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