source: udev/80-sysconfig.rules @ 7e161ea

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 7e161ea was 7e161ea, checked in by Jim Gifford <clfs@…>, 18 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
Line 
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
17ENV{SYSCONFIG}=="no|off|0", GOTO="sysconfig_end"
18
19# network devices
20KERNEL=="tun", NAME="net/%k", MODE="0600"
21SUBSYSTEM=="net", ACTION=="add", RUN+="/sbin/ifup $env{INTERFACE} -o hotplug"
22SUBSYSTEM=="net", ACTION=="remove", RUN+="/sbin/ifdown %k -o hotplug"
23
24LABEL="sysconfig_end"
Note: See TracBrowser for help on using the repository browser.