Revert "[code-cs] add crankshaft plug/unplug scripts"
This reverts commit df8f8f6cb47ccd18c0b9d7e5609e3f762a590ff3.
This commit is contained in:
parent
77f6f8c30d
commit
f9ae6f02c9
@ -98,10 +98,6 @@ void App::stop()
|
||||
void App::aoapDeviceHandler(aasdk::usb::DeviceHandle deviceHandle)
|
||||
{
|
||||
OPENAUTO_LOG(info) << "[App] Device connected.";
|
||||
#ifdef RASPBERRYPI3
|
||||
system("/opt/crankshaft/dumb_suid usb_plug.sh &");
|
||||
OPENAUTO_LOG(info) << "[CS] Ran USB Plug script.";
|
||||
#endif
|
||||
|
||||
if(androidAutoEntity_ != nullptr)
|
||||
{
|
||||
@ -157,11 +153,6 @@ void App::onAndroidAutoQuit()
|
||||
androidAutoEntity_->stop();
|
||||
androidAutoEntity_.reset();
|
||||
|
||||
#ifdef RASPBERRYPI3
|
||||
system("/opt/crankshaft/dumb_suid usb_unplug.sh &");
|
||||
OPENAUTO_LOG(info) << "[CS] Ran USB Unplug script.";
|
||||
#endif
|
||||
|
||||
if(!isStopped_)
|
||||
{
|
||||
this->waitForDevice();
|
||||
|
Loading…
x
Reference in New Issue
Block a user