clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since f8736bc was 7e161ea, checked in by Jim Gifford <clfs@…>, 19 years ago |
r833@server (orig r831): jim | 2005-12-05 10:42:24 -0800
Added: udev package for Cross-LFS. Work in Progress
|
-
Property mode
set to
100644
|
File size:
630 bytes
|
Rev | Line | |
---|
[7e161ea] | 1 | ########################################################################
|
---|
| 2 | #
|
---|
| 3 | # Description : Sysconfig Rules Set
|
---|
| 4 | #
|
---|
| 5 | # Authors : Based on Open Suse Udev Rules
|
---|
| 6 | # kay.sievers@suse.de
|
---|
| 7 | #
|
---|
| 8 | # Adapted to : Jim Gifford
|
---|
| 9 | # LFS
|
---|
| 10 | #
|
---|
| 11 | # Version : 00.01
|
---|
| 12 | #
|
---|
| 13 | # Notes :
|
---|
| 14 | #
|
---|
| 15 | ########################################################################
|
---|
| 16 |
|
---|
| 17 | ENV{SYSCONFIG}=="no|off|0", GOTO="sysconfig_end"
|
---|
| 18 |
|
---|
| 19 | # network devices
|
---|
| 20 | KERNEL=="tun", NAME="net/%k", MODE="0600"
|
---|
| 21 | SUBSYSTEM=="net", ACTION=="add", RUN+="/sbin/ifup $env{INTERFACE} -o hotplug"
|
---|
| 22 | SUBSYSTEM=="net", ACTION=="remove", RUN+="/sbin/ifdown %k -o hotplug"
|
---|
| 23 |
|
---|
| 24 | LABEL="sysconfig_end"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.