librc: move system detection code into rc_sys and use it
This fixes an issue where librc code was calling code that only existed in the rc binary. This reverts commits8addd79and9f6e056This fixes #75.
This commit is contained in:
committed by
William Hubbs
parent
55a28f5d25
commit
649f63d882
@@ -60,10 +60,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