rc: make get_systype similar to the old rc_sys function
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
|
||||
char *rc_conf_value(const char *var);
|
||||
bool rc_conf_yesno(const char *var);
|
||||
char *get_systype(void);
|
||||
void env_filter(void);
|
||||
void env_config(void);
|
||||
int signal_setup(int sig, void (*handler)(int));
|
||||
@@ -60,10 +61,6 @@ int is_writable(const char *);
|
||||
#define service_stop(service) exec_service(service, "stop");
|
||||
|
||||
int parse_mode(mode_t *, char *);
|
||||
const char *detect_prefix(void);
|
||||
const char *get_systype(void);
|
||||
const char *detect_container(void);
|
||||
const char *detect_vm(void);
|
||||
|
||||
/* Handy function so we can wrap einfo around our deptree */
|
||||
RC_DEPTREE *_rc_deptree_load (int, int *);
|
||||
|
||||
Reference in New Issue
Block a user