diff options
author | Bill Nottingham <notting@redhat.com> | 2006-09-18 17:47:04 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-09-18 17:47:04 +0000 |
commit | 7634c47889607686a3711d0f144bd41d1714cd19 (patch) | |
tree | 1d42c50a4f79622c4897c2e5c529cb470e403a03 /src/rename_device.c | |
parent | 0ea22fb5045fc4736f7928373001448bce5845c1 (diff) | |
download | initscripts-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>)
Diffstat (limited to 'src/rename_device.c')
-rw-r--r-- | src/rename_device.c | 1 |
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); |