diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-30 19:42:13 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-30 19:42:13 +0200 |
commit | 9dccb3b18d987fd696b14b88728299182751a849 (patch) | |
tree | 75bab7ac51de495ce92f5aa2577c9465c26f140e /hel | |
parent | 540052d1170d63f2af967580e1644b9e4e544b9a (diff) | |
download | nixos-9dccb3b18d987fd696b14b88728299182751a849.tar nixos-9dccb3b18d987fd696b14b88728299182751a849.tar.gz nixos-9dccb3b18d987fd696b14b88728299182751a849.tar.bz2 nixos-9dccb3b18d987fd696b14b88728299182751a849.tar.xz nixos-9dccb3b18d987fd696b14b88728299182751a849.zip |
package name
Diffstat (limited to 'hel')
-rw-r--r-- | hel/recv-media.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hel/recv-media.nix b/hel/recv-media.nix index f81d7c9e..07c96839 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix | |||
@@ -1,12 +1,12 @@ | |||
1 | { stdenv, coreutils, writeScriptBin, util-linux }: | 1 | { stdenv, coreutils, writeScriptBin, eject }: |
2 | 2 | ||
3 | writeScriptBin "recv-media" '' | 3 | writeScriptBin "recv-media" '' |
4 | #!${stdenv.shell} | 4 | #!${stdenv.shell} |
5 | 5 | ||
6 | pid=$? | 6 | pid=$? |
7 | 7 | ||
8 | exec 1> >(${util-linux}/bin/logger --id=$pid -t recv-media -p user.notice) | 8 | exec 1> >(${eject}/bin/logger --id=$pid -t recv-media -p user.notice) |
9 | exec 2> >(${util-linux}/bin/logger --id=$pid -t recv-media -p user.error) | 9 | exec 2> >(${eject}/bin/logger --id=$pid -t recv-media -p user.error) |
10 | 10 | ||
11 | [[ -z "$1" || -z "$2" ]] && exit 2 | 11 | [[ -z "$1" || -z "$2" ]] && exit 2 |
12 | 12 | ||