aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-03-17 17:02:05 +0000
committerBill Nottingham <notting@redhat.com>2006-03-17 17:02:05 +0000
commit515dfdb92d9c54043c641361d906f9a5c410e323 (patch)
tree664914bbc3fe771d89f240fa81c2e5e021bd7d01
parentf67a0957391bbc5101063d407fffe7e50b48a314 (diff)
downloadinitscripts-515dfdb92d9c54043c641361d906f9a5c410e323.tar
initscripts-515dfdb92d9c54043c641361d906f9a5c410e323.tar.gz
initscripts-515dfdb92d9c54043c641361d906f9a5c410e323.tar.bz2
initscripts-515dfdb92d9c54043c641361d906f9a5c410e323.tar.xz
initscripts-515dfdb92d9c54043c641361d906f9a5c410e323.zip
actually, if it's an implementation detail, shove it in /lib/udev
-rw-r--r--initscripts.spec2
-rw-r--r--src/Makefile4
-rw-r--r--udev/rules.d/60-net.rules2
3 files changed, 4 insertions, 4 deletions
diff --git a/initscripts.spec b/initscripts.spec
index bab84c2e..34ddb034 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -189,7 +189,7 @@ rm -rf $RPM_BUILD_ROOT
/sbin/getkey
%attr(2755,root,root) /sbin/netreport
/sbin/initlog
-/sbin/rename_device
+/lib/udev/rename_device
/sbin/service
/sbin/ppp-watch
%{_mandir}/man*/*
diff --git a/src/Makefile b/src/Makefile
index dacc44bd..3f559e88 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -14,7 +14,7 @@ clean:
rm -f $(PROGS) *.o
install:
- mkdir -p $(ROOT)/bin $(ROOT)/usr/sbin $(ROOT)$(mandir)/man{1,8} $(ROOT)/etc
+ mkdir -p $(ROOT)/bin $(ROOT)/usr/sbin $(ROOT)$(mandir)/man{1,8} $(ROOT)/etc $(ROOT)/lib/udev
install -m 755 doexec $(ROOT)/bin/doexec
install -m 755 usleep $(ROOT)/bin/usleep
install -m 4755 usernetctl $(ROOT)/usr/sbin/usernetctl
@@ -25,7 +25,7 @@ install:
install -m 755 getkey $(ROOT)/sbin/getkey
install -m 755 ppp-watch $(ROOT)/sbin/ppp-watch
install -m 755 consoletype $(ROOT)/sbin/consoletype
- install -m 755 rename_device $(ROOT)/sbin/rename_device
+ install -m 755 rename_device $(ROOT)/lib/udev/rename_device
install -m 644 initlog.1 $(ROOT)$(mandir)/man1
install -m 644 genhostid.1 $(ROOT)$(mandir)/man1
install -m 644 doexec.1 $(ROOT)$(mandir)/man1
diff --git a/udev/rules.d/60-net.rules b/udev/rules.d/60-net.rules
index 70857f06..e023edad 100644
--- a/udev/rules.d/60-net.rules
+++ b/udev/rules.d/60-net.rules
@@ -1,2 +1,2 @@
-ACTION=="add", SUBSYSTEM=="net", IMPORT{program}="/sbin/rename_device"
+ACTION=="add", SUBSYSTEM=="net", IMPORT{program}="/lib/udev/rename_device"
SUBSYSTEM=="net", RUN+="/etc/sysconfig/network-scripts/net.hotplug"