misc-progs: Set some defaults for CONFIG_ROOT and SNAME

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2021-01-06 11:19:18 +00:00
parent 1a79ef8e43
commit 81790c8a00

View File

@@ -18,6 +18,14 @@
#define STRING_SIZE 1024
#endif
#ifndef CONFIG_ROOT
#define CONFIG_ROOT "/var/ipfire"
#endif
#ifndef SNAME
#define SNAME "SNAME to be filled"
#endif
extern char * trusted_env[4];
int system_core(char* command, uid_t uid, gid_t gid, char *error);