diff options
-rw-r--r-- | initscripts.spec | 2 | ||||
-rw-r--r-- | src/Makefile | 4 | ||||
-rw-r--r-- | udev/rules.d/60-net.rules | 2 |
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" |