Functions | |
| static bool | run_cmd_capture (const std::string &cmd, std::string *out=nullptr, int *exit_code=nullptr) |
| static std::string | elev_cmd (const std::string &inner, const std::string &action_id="org.BastionGuard.maintenance") |
| static std::string | user_data_dir () |
| static bool | write_temp_script_and_elevate (const std::string &script_contents, std::string *out_log=nullptr) |
| static bool | file_exists (const std::string &path) |
| static std::string | run_capture (const std::string &cmd) |
| static bool | detect_resolvectl () |
| static bool | detect_nmcli () |
| static std::string | find_active_interface_nmcli () |
| static std::string | find_active_link_resolvectl () |
|
static |
Definition at line 169 of file wizard_setup.cpp.
References detect_nmcli(), and run_cmd_capture().
Referenced by detect_nmcli(), and find_active_link_resolvectl().
|
static |
Definition at line 164 of file wizard_setup.cpp.
References detect_resolvectl(), and run_cmd_capture().
Referenced by detect_resolvectl().
|
static |
Definition at line 61 of file wizard_setup.cpp.
References elev_cmd(), run_cmd_capture(), and BastionGuard::wizard::shell_quote().
Referenced by elev_cmd().
|
static |
Definition at line 151 of file wizard_setup.cpp.
References file_exists().
Referenced by file_exists().
|
static |
Definition at line 173 of file wizard_setup.cpp.
References find_active_interface_nmcli(), and run_capture().
Referenced by find_active_interface_nmcli(), and find_active_link_resolvectl().
|
static |
Definition at line 178 of file wizard_setup.cpp.
References detect_nmcli(), find_active_interface_nmcli(), find_active_link_resolvectl(), and run_capture().
Referenced by find_active_link_resolvectl().
|
static |
Definition at line 156 of file wizard_setup.cpp.
References bg_process::Result::output, bg_process::run(), and run_capture().
Referenced by find_active_interface_nmcli(), find_active_link_resolvectl(), and run_capture().
|
static |
Definition at line 52 of file wizard_setup.cpp.
References bg_process::Result::output, bg_process::run(), and run_cmd_capture().
Referenced by detect_nmcli(), detect_resolvectl(), elev_cmd(), run_cmd_capture(), and write_temp_script_and_elevate().
|
static |
Definition at line 86 of file wizard_setup.cpp.
References user_data_dir().
Referenced by user_data_dir().
|
static |
Definition at line 94 of file wizard_setup.cpp.
References _, run_cmd_capture(), and write_temp_script_and_elevate().
Referenced by write_temp_script_and_elevate().