Wykres commitów

22 Commity (master)

Autor SHA1 Wiadomość Data
Christian Speich 445aca6227 Keep environment in shell subprocesses
Currently we replace the environment of subprocesses with our own,
primarily only consisting of METER_* entries. Besides clearing
some very useful system dependent variables (like PATH, LDPATH, etc.)
with also prevent the user from passing environment variables to
invoked commands.

This patch will now copy the current environment and extends it with
the variables we want to set.

Signed-off-by: Christian Speich <christian@spei.ch>
2022-09-04 10:20:11 +02:00
Fredrik Öhrström 05b987006f Normalize copyright notices and add script for automatic extraction of copyrights. 2022-02-12 15:28:17 +01:00
Fredrik Öhrström 43d88def57 Revert "Honor the env in child processes"
This reverts commit 37abbcdf88.
2021-11-12 15:51:06 +01:00
Martin Haaß 37abbcdf88 Honor the env in child processes
fixes #380: execvpe replaces the original env with the given array. The
array was empty effectivly removing PATH from the subshell. Thus
rtl_wmbus is not found, even if located within the PATH, as stated in
the documentation.
2021-11-11 23:58:02 +01:00
Fredrik Öhrström c4239412a0 Add warning when using auto,rtlsdr dongle and rtl_wmbus/sdr is missing. 2020-12-05 11:33:47 +01:00
Fredrik Öhrström 891e3f4228 Alarm test work again. 2020-09-18 20:05:59 +02:00
Fredrik Öhrström 570c0c5454 Now simulations work. 2020-09-08 14:55:01 +02:00
Fredrik Öhrström 555cfa7466 Send SIGTERM to process group to properly dispatch background shell. 2020-08-10 20:22:58 +02:00
Fredrik Öhrström a42e8c9a5f Updated comment. 2020-08-09 17:05:55 +02:00
Fredrik Öhrström c71c35f1cb Send SIGTERM to pid instead of SIGINT to group. 2020-08-09 17:03:59 +02:00
Fredrik Öhrström 2565f766a9 More work in the admin tool. 2020-05-30 18:45:29 +02:00
Fredrik Öhrström eab0e9f940 Build fix. 2020-05-11 12:19:50 +02:00
Erwan Martin 6f323b30e6 Add support for FreeBSD. 2020-04-21 18:07:46 +02:00
weetmuts d257228235 Fix bug that prevented /bin/sh in busybox from working. 2019-11-18 07:33:25 +01:00
weetmuts 28d5495882 Added support for stdin and file.\n 2019-11-03 16:31:30 +01:00
weetmuts 735fcdbf9a Fix when exiting daemon using rtl_wmbus. 2019-08-13 21:05:46 +02:00
weetmuts 43f0d9b051 Exit and print info when background rtl_wmbus process fails to start. 2019-04-03 17:31:51 +02:00
weetmuts 08cdf9825e Improve manual 2019-02-27 19:42:21 +01:00
weetmuts b69b27707c Now rtlwmbus seems to work. 2019-02-25 22:03:20 +01:00
weetmuts 58206443a5 Rename CommandLine to Configuration. 2019-02-24 14:08:51 +01:00
weetmuts b119796c5c Work on macosx build. 2019-02-23 21:26:45 +01:00
weetmuts 8e67e2eb70 Moved sources into src. 2019-02-23 13:53:52 +01:00