aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/rename_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rename_device.c b/src/rename_device.c
index baf3c045..9acdebb7 100644
--- a/src/rename_device.c
+++ b/src/rename_device.c
@@ -333,6 +333,7 @@ int main(int argc, char **argv) {
rename_device(src, target, NULL);
printf("INTERFACE=%s\n",target);
+ printf("DEVPATH=/class/net/%s\n", target);
out_unlock:
unlink(LOCKFILE);
exit(0);