fix: Update system-level branding in PiPedalCommon (hotspot/ALSA names, service group, device name)
- WifiConfigSettings.hpp: default hotspot 'pipedal' -> 'op-pedal' - WifiDirectConfigSettings.hpp: default hotspot 'pipedal' -> 'op-pedal' - WifiDirectConfigSettings.cpp: default device name 'PiPedal' -> 'OP-Pedal' - ServiceConfiguration.hpp: deviceName 'PiPedal' -> 'OP-Pedal' - ServiceConfiguration.cpp: group name 'pipedal_d' -> 'oppedal_d' - AlsaSequencer.cpp: ALSA client/port/queue names 'PiPedal' -> 'OP-Pedal' (5 occurrences)
This commit is contained in:
@@ -71,10 +71,10 @@ void ServiceConfiguration::Save()
|
||||
t.close();
|
||||
|
||||
struct group *group_;
|
||||
group_ = getgrnam("pipedal_d");
|
||||
group_ = getgrnam("oppedal_d");
|
||||
if (group_ == nullptr)
|
||||
{
|
||||
throw logic_error("Group not found: pipedal_d");
|
||||
throw logic_error("Group not found: oppedal_d");
|
||||
}
|
||||
std::ignore = chown(DEVICEID_FILE_NAME, -1, group_->gr_gid);
|
||||
std::ignore = chmod(DEVICEID_FILE_NAME, S_IWUSR | S_IRUSR | S_IRGRP | S_IWGRP | S_IROTH);
|
||||
|
||||
Reference in New Issue
Block a user