Skip to content

Commit

Permalink
Changing ethernet name
Browse files Browse the repository at this point in the history
  • Loading branch information
erinharrington-12 committed Jan 22, 2025
1 parent 1e6433d commit 660c95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AboutWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ AboutWidget::AboutWidget(Device *device, QWidget *parent)

// Check if eth0 is active (/sys/class/net/eth0/carrier will output 1 if eth0 is active and 0 if it is not)
QStringList arguments;
arguments << "/sys/class/net/eno1/carrier";
arguments << "/sys/class/net/eth0/carrier";

QProcess *myProcess = new QProcess(parent);
myProcess->start("cat", arguments);
Expand Down

0 comments on commit 660c95a

Please sign in to comment.