aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-09-18 17:47:04 +0000
committerBill Nottingham <notting@redhat.com>2006-09-18 17:47:04 +0000
commit7634c47889607686a3711d0f144bd41d1714cd19 (patch)
tree1d42c50a4f79622c4897c2e5c529cb470e403a03
parent0ea22fb5045fc4736f7928373001448bce5845c1 (diff)
downloadinitscripts-7634c47889607686a3711d0f144bd41d1714cd19.tar
initscripts-7634c47889607686a3711d0f144bd41d1714cd19.tar.gz
initscripts-7634c47889607686a3711d0f144bd41d1714cd19.tar.bz2
initscripts-7634c47889607686a3711d0f144bd41d1714cd19.tar.xz
initscripts-7634c47889607686a3711d0f144bd41d1714cd19.zip
reset DEVPATH when renaming (#206884, <phil@fifi.org>)
-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);