Searched refs:executeCmd (Results 1 – 9 of 9) sorted by relevance
| /openbmc/phosphor-user-manager/test/ |
| H A D | execute_cmd_test.cpp | 7 std::vector<std::string> output = phosphor::user::executeCmd("/bin/true"); in TEST() 13 std::vector<std::string> output = phosphor::user::executeCmd( in TEST() 22 phosphor::user::executeCmd("/bin/echo", "-e", "hello\\nworld"); in TEST() 31 phosphor::user::executeCmd("/path/to/nonexistent_command"), in TEST() 38 phosphor::user::executeCmd("/bin/false"), in TEST()
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/ |
| H A D | utils.hpp | 102 std::pair<int, std::string> executeCmd(char** args); 117 return internal::executeCmd(argArray.data()); in execute()
|
| H A D | utils.cpp | 102 std::pair<int, std::string> executeCmd(char** args) in executeCmd() function
|
| /openbmc/openpower-vpd-parser/vpd-manager/include/utility/ |
| H A D | common_utility.hpp | 108 inline std::vector<std::string> executeCmd(T&& i_path, uint16_t& o_errCode, in executeCmd() function 328 executeCmd("/sbin/fw_printenv fieldmode", o_errCode); in isFieldModeEnabled() 368 commonUtility::executeCmd("/sbin/fw_printenv vpdmode", o_errCode); in getVpdCollectionMode()
|
| H A D | json_utility.hpp | 322 commonUtility::executeCmd(l_systemCommand, o_errCode); in processSystemCmdTag()
|
| /openbmc/pldm/oem/ibm/libpldmresponder/ |
| H A D | inband_code_update.cpp | 698 int executeCmd(const T&... t) in executeCmd() function 805 auto rc = executeCmd("/usr/sbin/mksquashfs", lidDirPath.c_str(), in assembleCodeUpdateImage() 822 rc = executeCmd("/bin/tar", "-xf", tarImagePath.c_str(), "-C", in assembleCodeUpdateImage() 843 rc = executeCmd("/bin/tar", "-cf", tarImagePath, ".", "-C", in assembleCodeUpdateImage()
|
| /openbmc/intel-ipmi-oem/src/ |
| H A D | firmware-update.cpp | 713 static int executeCmd(const char* path, ArgTypes&&... tArgs) in executeCmd() function 728 if (executeCmd(usbCtrlPath, "mount", fwUpdateUsbVolImage, in transferImageFromUsb() 734 executeCmd(usbCtrlPath, "cleanup", fwUpdateUsbVolImage, in transferImageFromUsb() 781 int ret = executeCmd(usbCtrlPath, "setup", fwUpdateUsbVolImage, in attachUsbDevice() 785 ret = executeCmd(usbCtrlPath, "insert", fwUpdateUSBDevName, in attachUsbDevice() 798 return executeCmd(usbCtrlPath, "eject", fwUpdateUSBDevName); in detachUsbDevice()
|
| H A D | oemcommands.cpp | 1387 static uint8_t executeCmd(const char* path) in executeCmd() function 1486 status = executeCmd("passwd -d root"); in ipmiOEMSetSpecialUserPassword() 1490 status = executeCmd("passwd -d asdbg"); in ipmiOEMSetSpecialUserPassword()
|
| /openbmc/openpower-vpd-parser/vpd-manager/oem-handler/ |
| H A D | ibm_handler.cpp | 534 commonUtility::executeCmd(cmd, l_errCode); in enableMuxChips() 626 commonUtility::executeCmd("/sbin/fw_setenv", l_errCode, i_key, i_value); in setEnvAndReboot() 654 commonUtility::executeCmd("/sbin/fw_printenv", l_errCode); in readFitConfigValue()
|