Changeset 1725
- Timestamp:
- 09/08/06 10:17:55 (2 years ago)
- Location:
- branches/6.2
- Files:
-
- 1 added
- 4 modified
-
doc/README (modified) (2 diffs)
-
packages/lfs-bootscripts/lfs-bootscripts-6.2-livecd-1.patch (modified) (1 diff)
-
packages/udev/50-network.rules (modified) (1 diff)
-
packages/udev/Makefile (modified) (1 diff)
-
packages/udev/dhcp-helper (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.2/doc/README
r1722 r1725 166 166 ============================ 167 167 It is possible to start the sshd daemon automatically upon boot. To do that, 168 you have to customize the CD. Modifythe following files:168 you have to customize the CD. Create the following files: 169 169 170 170 * /.autosshd … … 189 189 Configure a known static IP address there, as described in the LFS book, 190 190 section "7.12. Configuring the network Script". 191 192 * /etc/udev/rules.d/50-network.rules193 Remove this file in order to prevent udev from running dhcpcd.194 191 195 192 INTERNATIONALIZATION -
branches/6.2/packages/lfs-bootscripts/lfs-bootscripts-6.2-livecd-1.patch
r1689 r1725 93 93 + ln -sf ../init.d/network ${EXTDIR}/rc.d/rc1.d/K80network 94 94 + ln -sf ../init.d/network ${EXTDIR}/rc.d/rc2.d/K80network 95 + ln -sf ../init.d/network ${EXTDIR}/rc.d/rc3.d/S20network96 + ln -sf ../init.d/network ${EXTDIR}/rc.d/rc4.d/S20network97 + ln -sf ../init.d/network ${EXTDIR}/rc.d/rc5.d/S20network95 + # ln -sf ../init.d/network ${EXTDIR}/rc.d/rc3.d/S20network 96 + # ln -sf ../init.d/network ${EXTDIR}/rc.d/rc4.d/S20network 97 + # ln -sf ../init.d/network ${EXTDIR}/rc.d/rc5.d/S20network 98 98 + ln -sf ../init.d/network ${EXTDIR}/rc.d/rc6.d/K80network 99 99 + ln -sf ../init.d/mountkernfs ${EXTDIR}/rc.d/rcsysinit.d/S00mountkernfs -
branches/6.2/packages/udev/50-network.rules
r1295 r1725 1 1 # Run dhcpcd when anything resembling a valid Ethernet-like interface appears 2 ACTION=="add", SUBSYSTEM=="net", SYSFS{addr_len}=="6", SYSFS{address}!="00:00:00:00:00:00", RUN+=" /bin/sh -c 'PATH=/sbin:/bin dhcpcd %k -t 20 &'"2 ACTION=="add", SUBSYSTEM=="net", SYSFS{addr_len}=="6", SYSFS{address}!="00:00:00:00:00:00", RUN+="dhcp-helper %k" 3 3 4 4 # "dhcpcd -k" is not good: it destroys the cache but fails to send DHCP_RELEASE 5 5 # Since the interface is already gone, we choose to keep the cache 6 6 # and thus avoid the IP address leak from the DHCP server pool 7 ACTION=="remove", SUBSYSTEM=="net", RUN+="/ bin/sh -c 'kill `cat /var/run/dhcpcd-%k.pid` ; exit 0'"7 ACTION=="remove", SUBSYSTEM=="net", RUN+="/etc/sysconfig/network-devices/ifdown %k" -
branches/6.2/packages/udev/Makefile
r1706 r1725 41 41 cp $(CONFDIR)/[0-9]* /etc/udev/rules.d/ 42 42 echo 'ACTION=="add", BUS=="pci", SYSFS{class}=="0x030000", RUN+="detect-video"' >/etc/udev/rules.d/30-video.rules 43 install -m755 ../detect-video /lib/udev43 install -m755 ../detect-video ../dhcp-helper /lib/udev 44 44 install -m644 ../50-network.rules /etc/udev/rules.d/ 45 45 install -m644 -D docs/writing_udev_rules/index.html \
