mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 11:30:37 +02:00
'bump to new layout with many fixes and some additions'
This commit is contained in:
parent
5f497df2d9
commit
0ac5f74f04
201 changed files with 1523 additions and 1510 deletions
|
@ -22,6 +22,7 @@ BOOTMESSAGE=""
|
|||
APPENDBOOTMESSAGE="/etc/archboot/etc/append-message"
|
||||
APPENDBOOTMESSAGE_SYSLINUX="/etc/archboot/etc/append-message-syslinux"
|
||||
APPENDBOOTMESSAGE_SYSLINUX_LOWMEM="/etc/archboot/etc/append-message-syslinux-lowmem"
|
||||
APPENDOPTIONSBOOTMESSAGE="/etc/archboot/etc/append-options"
|
||||
|
||||
# menu.lst or isolinux.cfg files to use
|
||||
ISOLINUXCFG="/etc/archboot/etc/isolinux-lowmem.cfg"
|
||||
|
|
|
@ -21,6 +21,7 @@ BOOTMESSAGE=""
|
|||
# append this file to the default bootmessage
|
||||
APPENDBOOTMESSAGE="/etc/archboot/etc/append-message"
|
||||
APPENDBOOTMESSAGE_SYSLINUX="/etc/archboot/etc/append-message-syslinux"
|
||||
APPENDOPTIONSBOOTMESSAGE="/etc/archboot/etc/append-options"
|
||||
|
||||
# menu.lst or isolinux.cfg files to use
|
||||
ISOLINUXCFG="/etc/archboot/etc/isolinux.cfg"
|
||||
|
|
|
@ -19,6 +19,11 @@ KERNEL="/boot/vmlinuz26"
|
|||
# blank by default arch-bootmessage hook will create it by default
|
||||
BOOTMESSAGE=""
|
||||
|
||||
# append this file to the default bootmessage
|
||||
APPENDBOOTMESSAGE="/etc/archboot/etc/append-message"
|
||||
APPENDBOOTMESSAGE_SYSLINUX="/etc/archboot/etc/append-message-syslinux"
|
||||
APPENDOPTIONSBOOTMESSAGE="/etc/archboot/etc/append-options"
|
||||
|
||||
# Prompt on boot, defaulted to yes, 1=yes 0=no
|
||||
PROMPT="1"
|
||||
|
||||
|
|
|
@ -19,6 +19,11 @@ KERNEL="/boot/vmlinuz26"
|
|||
# blank by default arch-bootmessage hook will create it by default
|
||||
BOOTMESSAGE=""
|
||||
|
||||
# append this file to the default bootmessage
|
||||
APPENDBOOTMESSAGE="/etc/archboot/etc/append-message"
|
||||
APPENDBOOTMESSAGE_SYSLINUX="/etc/archboot/etc/append-message-syslinux"
|
||||
APPENDOPTIONSBOOTMESSAGE="/etc/archboot/etc/append-options"
|
||||
|
||||
# Prompt on boot, defaulted to yes, 1=yes 0=no
|
||||
PROMPT="1"
|
||||
|
||||
|
|
10
base/etc/fstab
Normal file
10
base/etc/fstab
Normal file
|
@ -0,0 +1,10 @@
|
|||
#
|
||||
# /etc/fstab: static file system information
|
||||
#
|
||||
# <file system> <dir> <type> <options> <dump> <pass>
|
||||
none /dev/pts devpts defaults 0 0
|
||||
none /dev/shm tmpfs defaults 0 0
|
||||
|
||||
/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
|
||||
/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
|
||||
/dev/fd0 /media/fl auto user,noauto 0 0
|
|
@ -1,4 +1,4 @@
|
|||
root:x:0:
|
||||
root:x:0:root
|
||||
bin:x:1:root,bin,daemon
|
||||
daemon:x:2:root,bin,daemon
|
||||
sys:x:3:root,bin
|
||||
|
@ -9,6 +9,7 @@ lp:x:7:daemon
|
|||
mem:x:8:
|
||||
kmem:x:9:
|
||||
wheel:x:10:root
|
||||
uucp:x:14:
|
||||
network:x:90:
|
||||
video:x:91:
|
||||
audio:x:92:
|
8
base/etc/hosts
Normal file
8
base/etc/hosts
Normal file
|
@ -0,0 +1,8 @@
|
|||
#
|
||||
# /etc/hosts: static lookup table for host names
|
||||
#
|
||||
|
||||
#<ip-address> <hostname.domain.org> <hostname>
|
||||
127.0.0.1 localhost.localdomain localhost
|
||||
|
||||
# End of file
|
|
@ -13,6 +13,7 @@ id:2:initdefault:
|
|||
rc::sysinit:/etc/rc.sysinit
|
||||
rh:06:wait:/etc/rc.shutdown
|
||||
|
||||
# -8 options fixes umlauts problem on login
|
||||
#c0:2:respawn:/sbin/agetty -8 -n -l /etc/login.sh 9600 ttyS0 linux
|
||||
c1:2:respawn:/sbin/agetty -8 -n -l /etc/login.sh 38400 vc/1 linux
|
||||
c2:2:respawn:/sbin/agetty -8 -n -l /etc/login.sh 38400 vc/2 linux
|
|
@ -20,6 +20,8 @@ $if mode=emacs
|
|||
"\e[5D": backward-word
|
||||
"\e\e[C": forward-word
|
||||
"\e\e[D": backward-word
|
||||
"\e[1;5C": forward-word
|
||||
"\e[1;5D": backward-word
|
||||
|
||||
# for rxvt
|
||||
"\e[8~": end-of-line
|
|
@ -1,15 +1,19 @@
|
|||
[defaults]
|
||||
base_features = sparse_super,filetype,resize_inode,dir_index
|
||||
base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr
|
||||
blocksize = 4096
|
||||
inode_ratio = 8192
|
||||
inode_size = 128
|
||||
inode_ratio = 16384
|
||||
|
||||
[fs_types]
|
||||
small = {
|
||||
blocksize = 1024
|
||||
inode_size = 128
|
||||
inode_ratio = 4096
|
||||
}
|
||||
floppy = {
|
||||
blocksize = 1024
|
||||
inode_size = 128
|
||||
inode_ratio = 8192
|
||||
}
|
||||
news = {
|
||||
inode_ratio = 4096
|
110
base/etc/nanorc
Normal file
110
base/etc/nanorc
Normal file
|
@ -0,0 +1,110 @@
|
|||
set autoindent
|
||||
set const
|
||||
set historylog
|
||||
set nowrap
|
||||
set smooth
|
||||
set regexp
|
||||
set fill 72
|
||||
# set multibuffer
|
||||
set suspend
|
||||
|
||||
syntax "pkgbuild" "^.*PKGBUILD$"
|
||||
color green start="^" end="$"
|
||||
color cyan "^.*(pkgname|pkgver|pkgrel|pkgdesc|force|url|license|install|source|md5sums|groups|backup|depends|makedepends|conflicts|provides|replaces).*=.*$"
|
||||
color brightcyan "\<(pkgname|pkgver|pkgrel|pkgdesc|force|url|license|install|source|md5sums|groups|backup|depends|makedepends|conflicts|provides|replaces)\>"
|
||||
color cyan "\.install"
|
||||
color brightwhite "=" "'" "\(" "\)" "\"" "#.*$" "\," "\{" "\}"
|
||||
color brightcyan "(\$|\$\{|\$\()(pkgname|pkgver|pkgrel|pkgdesc|force|url|license|install|source|md5sums|groups|backup|depends|makedepends|conflicts|provides|replaces|startdir)(|\}|\))"
|
||||
color brightred "build\(\)"
|
||||
color brightred "\<(configure|make)\>"
|
||||
color red "\<(DESTDIR|PREFIX|prefix|sysconfdir|datadir|libdir|includedir|mandir)\>"
|
||||
|
||||
syntax "c-file" "\.(c|h)$"
|
||||
color red "\<[A-Z_]{2,}\>"
|
||||
color green "\<(float|char|int|void|static|const|struct)\>"
|
||||
color brightyellow "\<(if|while|do|else|case|switch)\>"
|
||||
color brightcyan "^#( )*(define|include|ifn?def|endif|elif|else|if)"
|
||||
|
||||
syntax "php" "\.php[2345s~]?$"
|
||||
color brightblue "(.*)\("
|
||||
color blue "\$[a-zA-Z_0-9$]*|[=!<>]"
|
||||
color green "(var|class|function|echo|case|break|default|exit|switch|if|else|elseif|@|while)\s"
|
||||
color green "[.,{}();]"
|
||||
color red "('.*')|(\".*\")"
|
||||
color brightyellow "(#.*|//.*)$"
|
||||
color brightyellow start="/\*" end="\*/"
|
||||
color brightblue "(<\?(php)?|\?>)"
|
||||
color white start="\?>" end="<\?(php)?"
|
||||
|
||||
syntax "HTML" "\.html$"
|
||||
color blue start="<" end=">"
|
||||
color red "&[^; ]*;"
|
||||
|
||||
syntax "patch" "\.(patch|diff)$"
|
||||
color brightgreen "^\+.*"
|
||||
color green "^\+\+\+.*"
|
||||
color brightblue "^ .*"
|
||||
color brightred "^-.*"
|
||||
color red "^---.*"
|
||||
color brightyellow "^@@.*"
|
||||
color magenta "^diff.*"
|
||||
|
||||
syntax "Java source" "\.java$"
|
||||
color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
|
||||
color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
|
||||
color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>"
|
||||
color red ""[^\"]*""
|
||||
color yellow "\<(true|false|null)\>"
|
||||
color blue "//.*"
|
||||
color blue start="/\*" end="\*/"
|
||||
color brightblue start="/\*\*" end="\*/"
|
||||
color brightgreen,green " +$"
|
||||
|
||||
syntax "ml" ".*\.([jrs]?html?|xml|sgml?)$"
|
||||
color white "^.+$"
|
||||
color green start="<" end=">"
|
||||
color cyan "<[^> ]+"
|
||||
color cyan ">"
|
||||
color yellow start="<!DOCTYPE" end="[/]?>"
|
||||
color yellow start="<!--" end="-->"
|
||||
color red "&[^;]*;"
|
||||
|
||||
## syntax highlighting in xorg.conf
|
||||
##
|
||||
syntax "xorg" "xorg\.conf$"
|
||||
color brightwhite "(Section|EndSection|Sub[sS]ection|EndSub[sS]ection)"
|
||||
# keywords
|
||||
color yellow "[^A-Za-z0-9](Identifier|Screen|InputDevice|Option|RightOf|LeftOf|Driver|RgbPath|FontPath|ModulePath|Load|VendorName|ModelName|BoardName|BusID|Device|Monitor|DefaultDepth|View[pP]ort|Depth|Virtual|Modes|Mode|DefaultColorDepth|Modeline|\+vsync|\+hsync|HorizSync|VertRefresh)[^A-Za-z0-9]"
|
||||
# numbers
|
||||
color magenta "[0-9]"
|
||||
# strings
|
||||
color green ""(\\.|[^\"])*""
|
||||
# comments
|
||||
color white "#.*"
|
||||
|
||||
|
||||
# Generic conf/rc/sh file syntax highlighting
|
||||
#############################################
|
||||
syntax "conf/rc/sh" "conf$|rc$|sh$"
|
||||
color white ".+"
|
||||
color green "^#.*"
|
||||
|
||||
# .nanorc syntax highlighting
|
||||
#############################
|
||||
syntax "nanorc" "[\.]*nanorc$"
|
||||
color white "^ *(set|unset).*$"
|
||||
color cyan "^ *(set|unset) (autoindent|backup|const|cut|fill|keypad|multibuffer|noconvert|nofollow|nohelp|nowrap|operatingdir|preserve|quotestr|regexp|smooth|speller|suspend|tabsize|tempfile|historylog|view)"
|
||||
color brightwhite "^ *syntax [^ ]*"
|
||||
color brightblue "^ *set\>" "^ *unset\>" "^ *syntax\>"
|
||||
color white "^ *color\>.*"
|
||||
color yellow "^ *color (bright)?(black|blue|cyan|green|magenta|red|white|yellow)\>"
|
||||
color magenta "^ *color\>"
|
||||
color green "^#.*$"
|
||||
|
||||
# grub.conf syntax highlighting
|
||||
###############################
|
||||
syntax "grub.conf" "grub\.conf"
|
||||
color cyan "(^default.+|^timeout.+)"
|
||||
color red "^title.+"
|
||||
color yellow "(initrd.+|kernel.+|root.+)"
|
||||
color green "^#.*"
|
64
base/etc/pacman.conf
Normal file
64
base/etc/pacman.conf
Normal file
|
@ -0,0 +1,64 @@
|
|||
#
|
||||
# /etc/pacman.conf
|
||||
#
|
||||
# See the pacman manpage for option directives
|
||||
|
||||
#
|
||||
# GENERAL OPTIONS
|
||||
#
|
||||
[options]
|
||||
# The following paths are commented out with their default values listed.
|
||||
# If you wish to use different paths, uncomment and update the paths.
|
||||
#RootDir = /
|
||||
#DBPath = /var/lib/pacman/
|
||||
#CacheDir = /var/cache/pacman/pkg/
|
||||
#LogFile = /var/log/pacman.log
|
||||
HoldPkg = pacman glibc
|
||||
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
|
||||
|
||||
#
|
||||
# REPOSITORIES
|
||||
# - can be defined here or included from another file
|
||||
# - pacman will search repositories in the order defined here
|
||||
# - local/custom mirrors can be added here or in separate files
|
||||
# - repositories listed first will take precedence when packages
|
||||
# have identical names, regardless of version number
|
||||
#
|
||||
# Repository entries are of the format:
|
||||
# [repo-name]
|
||||
# Server = ServerName
|
||||
# Include = IncludePath
|
||||
#
|
||||
# The header [repo-name] is crucial - it must be present and
|
||||
# uncommented to enable the repo.
|
||||
#
|
||||
|
||||
# Testing is disabled by default. To enable, uncomment the following
|
||||
# two lines. You can add preferred servers immediately after the header,
|
||||
# and they will be used before the default mirrors.
|
||||
#[testing]
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[core]
|
||||
# Add your preferred servers here, they will be used first
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[extra]
|
||||
# Add your preferred servers here, they will be used first
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[community]
|
||||
# Add your preferred servers here, they will be used first
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
# Unstable is disabled by default. To enable, uncomment the following
|
||||
# two lines. You can add preferred servers immediately after the header,
|
||||
# and they will be used before the default mirrors.
|
||||
#[unstable]
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
# An example of a custom package repository. See the pacman manpage for
|
||||
# tips on creating your own repositories.
|
||||
#[custom]
|
||||
#Server = file:///home/custompkgs
|
||||
|
147
base/etc/protocols
Normal file
147
base/etc/protocols
Normal file
|
@ -0,0 +1,147 @@
|
|||
# $NetBSD: protocols,v 1.12.4.1 2006/12/02 12:58:19 bouyer Exp $
|
||||
#
|
||||
# Internet (IP) protocols
|
||||
#
|
||||
# originally from: @(#)protocols 8.1 (Berkeley) 6/9/93
|
||||
# see http://www.iana.org/assignments/protocol-numbers
|
||||
#
|
||||
ip 0 IP # internet protocol, pseudo protocol number
|
||||
icmp 1 ICMP # internet control message protocol
|
||||
igmp 2 IGMP # internet group management protocol
|
||||
ggp 3 GGP # gateway-gateway protocol
|
||||
ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'')
|
||||
st 5 ST # ST datagram mode
|
||||
tcp 6 TCP # transmission control protocol
|
||||
cbt 7 CBT
|
||||
egp 8 EGP # exterior gateway protocol
|
||||
igp 9 IGP # any private interior gateway protocol
|
||||
bbn-rcc-mon 10 BBN-RCC-MON # BBN RCC Monitoring
|
||||
nvp-ii 11 NVP-II # Network Voice Protocol
|
||||
pup 12 PUP # PARC universal packet protocol
|
||||
argus 13 ARGUS
|
||||
emcon 14 EMCON
|
||||
xnet 15 XNET # Cross net debugger
|
||||
chaos 16 CHAOS # Chaos
|
||||
udp 17 UDP # user datagram protocol
|
||||
mux 18 MUX # Multiplexing
|
||||
dcn-meas 19 DCN-MEAS # DCN Measurement Subsystems
|
||||
hmp 20 HMP # host monitoring protocol
|
||||
prm 21 PRM # Packet Radio Measurement
|
||||
xns-idp 22 XNS-IDP # Xerox NS IDP
|
||||
trunk-1 23 TRUNK-1
|
||||
trunk-2 24 TRUNK-2
|
||||
leaf-1 25 LEAF-1
|
||||
leaf-2 26 LEAF-2
|
||||
rdp 27 RDP # reliable data protocol
|
||||
irtp 28 IRTP # Internet Reliable Transaction
|
||||
iso-tp4 29 ISO-TP4 # ISO Transport Protocol Class 4
|
||||
netblt 30 NETBLT # Bulk Data Transfer Protocol
|
||||
mfe-nsp 31 MFE-NSP # MFE Network Services Protocol
|
||||
merit-inp 32 MERIT-INP # MERIT Internodal Protocol
|
||||
sep 33 SEP # Sequential Exchange Protocol
|
||||
3pc 34 3PC # Third Party Connect Protocol
|
||||
idpr 35 IDPR # Inter-Domain Policy Routing Protocol
|
||||
xtp 36 XTP # Xpress Transfer Protocol
|
||||
ddp 37 DDP # Datagram Delivery Protocol
|
||||
idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transport
|
||||
tp++ 39 TP++ # TP++ Transport Protocol
|
||||
il 40 IL # IL Transport Protocol
|
||||
ipv6 41 IPv6 # Internet Protocol, version 6
|
||||
sdrp 42 SDRP # Source Demand Routing Protocol
|
||||
ipv6-route 43 IPv6-Route # Routing Header for IPv6
|
||||
ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6
|
||||
idrp 45 IDRP # Inter-Domain Routing Protocol
|
||||
rsvp 46 RSVP # Resource ReSerVation Protocol
|
||||
gre 47 GRE # General Routing Encapsulation
|
||||
mhrp 48 MHRP # Mobile Host Routing Protocol
|
||||
bna 49 BNA
|
||||
esp 50 ESP # Encapsulating Security Payload
|
||||
ah 51 AH # Authentication Header
|
||||
i-nlsp 52 I-NLSP # Integrated Net Layer Security
|
||||
swipe 53 SWIPE # IP with Encryption
|
||||
narp 54 NARP # NBMA Address Resolution Protocol
|
||||
mobile 55 MOBILE # IP Mobility (IP tunneling)
|
||||
tlsp 56 TLSP # Transport Layer Security Protocol
|
||||
skip 57 SKIP
|
||||
ipv6-icmp 58 IPv6-ICMP icmp6 # ICMP version 6
|
||||
ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6
|
||||
ipv6-opts 60 IPv6-Opts # Destination Options for IPv6
|
||||
# 61 # any host internal protocol
|
||||
cftp 62 CFTP # CFTP
|
||||
# 63 # any local network
|
||||
sat-expak 64 SAT-expak # SATNET and Backroom EXPAK
|
||||
kryptolan 65 KRYPTOLAN # Kryptolan
|
||||
rvd 66 RVD # MIT Remote Virtual Disk Protocol
|
||||
ippc 67 IPPC # Internet Pluribus Packet Core
|
||||
# 68 # any distributed file system
|
||||
sat-mon 69 SAT-MON # SATNET Monitoring
|
||||
visa 70 VISA # VISA Protocol
|
||||
ipcv 71 IPCV # Internet Packet Core Utility
|
||||
cpnx 72 CPNX # Computer Protocol Network Executive
|
||||
cphb 73 CPHB # Computer Protocol Heart Beat
|
||||
wsn 74 WSN # Wang Span Network
|
||||
pvp 75 PVP # Packet Video Protocol
|
||||
br-sat-mon 76 BR-SAT-MON # Backroom SATNET Monitoring
|
||||
sun-nd 77 SUN-ND # SUN ND PROTOCOL-Temporary
|
||||
wb-mon 78 WB-MON # WIDEBAND Monitoring
|
||||
wb-expak 79 WB-EXPAK # WIDEBAND EXPAK
|
||||
iso-ip 80 ISO-IP # ISO Internet Protocol
|
||||
vmtp 81 VMTP # Versatile Message Transport
|
||||
secure-vmtp 82 SECURE-VMTP # SECURE-VMTP
|
||||
vines 83 VINES
|
||||
ttp 84 TTP
|
||||
nsfnet-igp 85 NSFNET-IGP
|
||||
dgp 86 DGP # Dissimilar Gateway Protocol
|
||||
tcf 87 TCF
|
||||
eigrp 88 EIGRP # Enhanced Inter-Gateway Routing Protocol
|
||||
ospf 89 OSPFIGP # Open Shortest Path First IGP
|
||||
sprite-rpc 90 Sprite-RPC # Sprite RPC Protocol
|
||||
larp 91 LARP # Locus Address Resolution Protocol
|
||||
mtp 92 MTP # Multicast Transport Protocol
|
||||
ax.25 93 AX.25 # AX.25 Frames
|
||||
ipip 94 IPIP # Yet Another IP encapsulation
|
||||
micp 95 MICP # Mobile Internetworking Control Pro.
|
||||
scc-sp 96 SCC-SP # Semaphore Communications Sec. Pro.
|
||||
etherip 97 ETHERIP # Ethernet-within-IP Encapsulation
|
||||
encap 98 ENCAP # RFC1241 encapsulation
|
||||
# 99 # any private encryption scheme
|
||||
gmtp 100 GMTP
|
||||
ifmp 101 IFMP # Ipsilon Flow Management Protocol
|
||||
pnni 102 PNNI # PNNI over IP
|
||||
pim 103 PIM # Protocol Independent Multicast
|
||||
aris 104 ARIS
|
||||
scps 105 SCPS
|
||||
qnx 106 QNX
|
||||
a/n 107 A/N # Active Networks
|
||||
ipcomp 108 IPCOMP # IP Payload Compression Protocol
|
||||
snp 109 SNP # Sitara Networks Protocol
|
||||
compaq-peer 110 Compaq-Peer # Compaq Peer Protocol
|
||||
ipx-in-ip 111 IPX-in-IP # IPX in IP
|
||||
carp 112 CARP vrrp # Virtual Router Redundancy Protocol
|
||||
pgm 113 PGM # PGM Reliable Transport Protocol
|
||||
# 114 # any 0-hop protocol
|
||||
l2tp 115 L2TP # Layer Two Tunneling Protocol
|
||||
ddx 116 DDX # D-II Data Exchange (DDX)
|
||||
iatp 117 IATP # Interactive Agent Transfer Protocol
|
||||
stp 118 STP # Schedule Transfer Protocol
|
||||
srp 119 SRP # SpectraLink Radio Protocol
|
||||
uti 120 UTI
|
||||
smp 121 SMP # Simple Message Protocol
|
||||
sm 122 SM
|
||||
ptp 123 PTP # Performance Transparency Protocol
|
||||
isis 124 ISIS # IS-IS over IPv4
|
||||
fire 125 FIRE
|
||||
crtp 126 CRTP # Combat Radio Transport Protocol
|
||||
crudp 127 CRUDP # Combat Radio User Datagram
|
||||
sscopmce 128 SSCOPMCE
|
||||
iplt 129 IPLT
|
||||
sps 130 SPS # Secure Packet Shield
|
||||
pipe 131 PIPE # Private IP Encapsulation within IP
|
||||
sctp 132 SCTP # Stream Control Transmission Protocol
|
||||
fc 133 FC # Fibre Channel
|
||||
rsvp-e2e-ignore 134 RSVP-E2E-IGNORE
|
||||
mobility-header 135 MOBILITY-HEADER # Mobility Header
|
||||
udplite 136 UDPLite
|
||||
mpls-in-ip 137 MPLS-in-IP # MPLS in IP
|
||||
# 138-254 # Unassigned
|
||||
# 255 # Reserved
|
5
base/etc/rc.local
Executable file
5
base/etc/rc.local
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# /etc/rc.local: Local multi-user startup script.
|
||||
#
|
||||
# End of file
|
387
base/etc/services
Normal file
387
base/etc/services
Normal file
|
@ -0,0 +1,387 @@
|
|||
# $NetBSD: services,v 1.84 2007/02/10 19:39:02 reed Exp $
|
||||
#
|
||||
# Network services, Internet style
|
||||
#
|
||||
# Note that it is presently the policy of IANA to assign a single well-known
|
||||
# port number for both TCP and UDP; hence, most entries here have two entries
|
||||
# even if the protocol doesn't support UDP operations.
|
||||
# Updated from RFC 1340, ``Assigned Numbers'' (July 1992). Not all ports
|
||||
# are included, only the more common ones.
|
||||
# The latest IANA list is available from:
|
||||
# http://www.iana.org/assignments/port-numbers
|
||||
#
|
||||
# from: @(#)services 8.2 (Berkeley) 3/26/95
|
||||
#
|
||||
tcpmux 1/tcp # TCP port multiplexer (RFC1078)
|
||||
echo 7/tcp
|
||||
echo 7/udp
|
||||
discard 9/tcp sink null
|
||||
discard 9/udp sink null
|
||||
systat 11/tcp users
|
||||
daytime 13/tcp
|
||||
daytime 13/udp
|
||||
netstat 15/tcp
|
||||
qotd 17/tcp quote
|
||||
msp 18/tcp # message send protocol
|
||||
msp 18/udp
|
||||
chargen 19/tcp ttytst source
|
||||
chargen 19/udp ttytst source
|
||||
ftp-data 20/tcp # default ftp data port
|
||||
ftp 21/tcp # File Transfer Protocol
|
||||
ssh 22/tcp # Secure Shell
|
||||
ssh 22/udp
|
||||
telnet 23/tcp
|
||||
# 24 - private
|
||||
smtp 25/tcp mail
|
||||
# 26 - unassigned
|
||||
time 37/tcp timserver
|
||||
time 37/udp timserver
|
||||
rlp 39/udp resource # resource location
|
||||
nameserver 42/tcp name # IEN 116
|
||||
whois 43/tcp nicname
|
||||
tacacs 49/tcp # Login Host Protocol (TACACS)
|
||||
tacacs 49/udp # Login Host Protocol (TACACS)
|
||||
domain 53/tcp # name-domain server
|
||||
domain 53/udp
|
||||
mtp 57/tcp # deprecated
|
||||
bootps 67/tcp # BOOTP server
|
||||
bootps 67/udp
|
||||
bootpc 68/tcp # BOOTP client
|
||||
bootpc 68/udp
|
||||
tftp 69/udp # Trivial File Transfer Protocol
|
||||
gopher 70/tcp # Internet Gopher
|
||||
gopher 70/udp
|
||||
rje 77/tcp netrjs
|
||||
finger 79/tcp
|
||||
http 80/tcp www www-http # WorldWideWeb HTTP
|
||||
http 80/udp www www-http # HyperText Transfer Protocol
|
||||
link 87/tcp ttylink
|
||||
kerberos 88/tcp krb5 # Kerberos v5
|
||||
kerberos 88/udp
|
||||
supdup 95/tcp
|
||||
# 100 - reserved
|
||||
hostnames 101/tcp hostname # usually from sri-nic
|
||||
iso-tsap 102/tcp tsap # part of ISODE.
|
||||
csnet-ns 105/tcp cso-ns # also used by CSO name server
|
||||
csnet-ns 105/udp cso-ns
|
||||
poppass 106/tcp poppassd
|
||||
rtelnet 107/tcp # Remote Telnet
|
||||
rtelnet 107/udp
|
||||
pop2 109/tcp postoffice # POP version 2
|
||||
pop2 109/udp
|
||||
pop3 110/tcp # POP version 3
|
||||
pop3 110/udp
|
||||
sunrpc 111/tcp rpcbind # Remote Procedure Call
|
||||
sunrpc 111/udp rpcbind
|
||||
auth 113/tcp authentication tap ident
|
||||
sftp 115/tcp
|
||||
uucp-path 117/tcp
|
||||
sqlserv 118/tcp # SQL Services
|
||||
nntp 119/tcp readnews untp # USENET News Transfer Protocol
|
||||
erpc 121/udp # Encore Expedited Remote Pro.Call
|
||||
ntp 123/tcp
|
||||
ntp 123/udp # Network Time Protocol
|
||||
netbios-ns 137/tcp # NETBIOS Name Service
|
||||
netbios-ns 137/udp
|
||||
netbios-dgm 138/tcp # NETBIOS Datagram Service
|
||||
netbios-dgm 138/udp
|
||||
netbios-ssn 139/tcp # NETBIOS session service
|
||||
netbios-ssn 139/udp
|
||||
imap 143/tcp imap2 imap4 # Internet Message Access Protocol
|
||||
imap 143/udp imap2 imap4
|
||||
snmp 161/udp # Simple Net Mgmt Proto
|
||||
snmp-trap 162/udp snmptrap # Traps for SNMP
|
||||
cmip-man 163/tcp # ISO mgmt over IP (CMOT)
|
||||
cmip-man 163/udp
|
||||
cmip-agent 164/tcp
|
||||
cmip-agent 164/udp
|
||||
mailq 174/tcp # zmailer MTA
|
||||
xdmcp 177/tcp # X Display Mgr. Control Proto
|
||||
xdmcp 177/udp
|
||||
nextstep 178/tcp NeXTStep NextStep # NeXTStep window
|
||||
nextstep 178/udp NeXTStep NextStep # server
|
||||
bgp 179/tcp # Border Gateway Proto.
|
||||
bgp 179/udp
|
||||
prospero 191/tcp # Cliff Neuman's Prospero
|
||||
prospero 191/udp
|
||||
irc 194/tcp # Internet Relay Chat
|
||||
irc 194/udp
|
||||
smux 199/tcp # SNMP Unix Multiplexer
|
||||
smux 199/udp
|
||||
at-rtmp 201/tcp # AppleTalk routing
|
||||
at-rtmp 201/udp
|
||||
at-nbp 202/tcp # AppleTalk name binding
|
||||
at-nbp 202/udp
|
||||
at-echo 204/tcp # AppleTalk echo
|
||||
at-echo 204/udp
|
||||
at-zis 206/tcp # AppleTalk zone information
|
||||
at-zis 206/udp
|
||||
z3950 210/tcp wais # NISO Z39.50 database
|
||||
z3950 210/udp wais
|
||||
ipx 213/tcp # IPX
|
||||
ipx 213/udp
|
||||
imap3 220/tcp # Interactive Mail Access
|
||||
imap3 220/udp # Protocol v3
|
||||
rsh-spx 222/tcp # Berkeley rshd with SPX auth
|
||||
ulistserv 372/tcp # UNIX Listserv
|
||||
ulistserv 372/udp
|
||||
nip 376/tcp # Amiga Envoy Net Inquiry Prot.
|
||||
nip 376/udp # Amiga Envoy Net Inquiry Prot.
|
||||
ldap 389/tcp # Lightweight Directory Access Protocol
|
||||
ldap 389/udp # Lightweight Directory Access Protocol
|
||||
imsp 406/tcp # Interactive Mail Support Protocol
|
||||
imsp 406/udp # Interactive Mail Support Protocol
|
||||
microsoft-ds 445/tcp # Microsoft-DS
|
||||
microsoft-ds 445/udp # Microsoft-DS
|
||||
isakmp 500/tcp # IPsec Key Management (ISAKMP/Oakley)
|
||||
isakmp 500/udp # IPsec Key Management (ISAKMP/Oakley)
|
||||
ripng 521/tcp # RIP for IPv6
|
||||
ripng 521/udp # RIP for IPv6
|
||||
submission 587/tcp # Message Submission
|
||||
submission 587/udp # Message Submission
|
||||
acap 674/tcp # Application Configuration Access Protocol
|
||||
acap 674/udp # Application Configuration Access Protocol
|
||||
silc 706/tcp # Secure Internet Live Conferencing
|
||||
silc 706/udp # Secure Internet Live Conferencing
|
||||
iscsi-rfc 860/tcp # RFC port used by iSCSI targets
|
||||
|
||||
#
|
||||
# UNIX specific services
|
||||
#
|
||||
exec 512/tcp # Remote execution
|
||||
biff 512/udp comsat # Biff the dog
|
||||
login 513/tcp # Remote login
|
||||
who 513/udp whod # Remote who
|
||||
shell 514/tcp cmd # Remote command shell
|
||||
syslog 514/udp # System logger
|
||||
printer 515/tcp spooler # line printer spooler
|
||||
talk 517/udp # Talk protocols
|
||||
ntalk 518/udp
|
||||
route 520/udp router routed # RIP
|
||||
timed 525/udp timeserver
|
||||
tempo 526/tcp newdate
|
||||
courier 530/tcp rpc
|
||||
conference 531/tcp chat
|
||||
netnews 532/tcp
|
||||
netwall 533/udp # -for emergency broadcasts
|
||||
uucp 540/tcp uucpd # uucp daemon
|
||||
rdist 541/tcp rdistd # rdist daemon
|
||||
afpovertcp 548/tcp # AppleshareIP protocol
|
||||
afpovertcp 548/udp # AppleshareIP protocol
|
||||
remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem
|
||||
#
|
||||
webster 765/tcp # Network dictionary
|
||||
webster 765/udp
|
||||
rsync 873/tcp # rsync
|
||||
rsync 873/udp # rsync
|
||||
|
||||
#
|
||||
# Various SSL services
|
||||
#
|
||||
https 443/tcp # http protocol over TLS/SSL
|
||||
https 443/udp # http protocol over TLS/SSL
|
||||
smtps 465/tcp # smtp protocol over TLS/SSL
|
||||
smtps 465/udp # smtp protocol over TLS/SSL
|
||||
nntps 563/tcp # nntp protocol over TLS/SSL (was snntp)
|
||||
nntps 563/udp # nntp protocol over TLS/SSL (was snntp)
|
||||
ldaps 636/tcp # ldap protocol over TLS/SSL (was sldap)
|
||||
ldaps 636/udp # ldap protocol over TLS/SSL (was sldap)
|
||||
ftps-data 989/tcp # ftp protocol, data, over TLS/SSL
|
||||
ftps-data 989/udp # ftp protocol, data, over TLS/SSL
|
||||
ftps 990/tcp # ftp protocol, control, over TLS/SSL
|
||||
ftps 990/udp # ftp protocol, control, over TLS/SSL
|
||||
telnets 992/tcp # telnet protocol over TLS/SSL
|
||||
telnets 992/udp # telnet protocol over TLS/SSL
|
||||
imaps 993/tcp # imap4 protocol over TLS/SSL
|
||||
imaps 993/udp # imap4 protocol over TLS/SSL
|
||||
ircs 994/tcp # irc protocol over TLS/SSL
|
||||
ircs 994/udp # irc protocol over TLS/SSL
|
||||
pop3s 995/tcp # pop3 protocol over TLS/SSL (was spop3)
|
||||
pop3s 995/udp # pop3 protocol over TLS/SSL (was spop3)
|
||||
|
||||
#
|
||||
# From ``Assigned Numbers'':
|
||||
#
|
||||
#> The Registered Ports are not controlled by the IANA and on most systems
|
||||
#> can be used by ordinary user processes or programs executed by ordinary
|
||||
#> users.
|
||||
#
|
||||
#> Ports are used in the TCP [45,106] to name the ends of logical
|
||||
#> connections which carry long term conversations. For the purpose of
|
||||
#> providing services to unknown callers, a service contact port is
|
||||
#> defined. This list specifies the port used by the server process as its
|
||||
#> contact port. While the IANA can not control uses of these ports it
|
||||
#> does register or list uses of these ports as a convenience to the
|
||||
#> community.
|
||||
#
|
||||
ingreslock 1524/tcp
|
||||
ingreslock 1524/udp
|
||||
prospero-np 1525/tcp # Prospero non-privileged
|
||||
prospero-np 1525/udp
|
||||
radius 1812/tcp
|
||||
radius 1812/udp
|
||||
radius-acct 1813/tcp radacct
|
||||
radius-acct 1813/udp radacct
|
||||
cvspserver 2401/tcp
|
||||
cvspserver 2401/udp
|
||||
isns 3205/tcp # iSNS server port
|
||||
isns 3205/udp # iSNS server port
|
||||
iscsi 3260/tcp # Draft port used by iSCSI targets
|
||||
# Will be moved to 860 after RFC
|
||||
# is published
|
||||
iscsi-target 3260/tcp # Draft port used by iSCSI targets
|
||||
mysql 3306/tcp # MySQL
|
||||
mysql 3306/udp # MySQL
|
||||
svn 3690/tcp # Subversion
|
||||
svn 3690/udp # Subversion
|
||||
rfe 5002/tcp # Radio Free Ethernet
|
||||
rfe 5002/udp # Actually uses UDP only
|
||||
sip 5060/tcp # SIP
|
||||
sip 5060/udp # SIP
|
||||
postgresql 5432/tcp # PostgreSQL Database
|
||||
postgresql 5432/udp # PostgreSQL Database
|
||||
|
||||
#
|
||||
# Kerberos (Project Athena/MIT) services
|
||||
# (note that kerberos @ port 88 is sorted in the list above)
|
||||
#
|
||||
kpasswd 464/udp # Kerberos password changing protocol
|
||||
kpasswd 464/tcp # Kerberos password changing protocol
|
||||
klogin 543/tcp # Kerberos `rlogin'
|
||||
kshell 544/tcp krcmd # Kerberos `rsh'
|
||||
ekshell 545/tcp # Encrypted kshell
|
||||
kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
|
||||
kerberos-iv 750/udp kdc kerberos4 # Kerberos (server) udp
|
||||
kerberos-iv 750/tcp kdc kerberos4 # Kerberos (server) tcp
|
||||
kerberos-master 751/udp # Kerberos admin server udp
|
||||
kerberos-master 751/tcp # Kerberos admin server tcp
|
||||
hprop 754/tcp # Heimdal KDC database propagation
|
||||
krbupdate 760/tcp kreg # BSD Kerberos registration
|
||||
kpwd 761/tcp # old BSD Kerberos `passwd'
|
||||
# (formerly `kpasswd')
|
||||
kpop 1109/tcp # Kerberos POP server
|
||||
eklogin 2105/tcp # Kerberos encrypted `rlogin'
|
||||
ekshell2 2106/tcp # Encrypted kshell - UColorado, Boulder
|
||||
krb524 4444/udp # krb5 -> krb4 ticket conversion
|
||||
|
||||
#
|
||||
# AFS services
|
||||
#
|
||||
# IANA has these registered as both UDP and TCP, but only the UDP
|
||||
# ports are used by the protocol
|
||||
#
|
||||
afs3-fileserver 7000/tcp # file server itself
|
||||
afs3-fileserver 7000/udp # file server itself
|
||||
afs3-callback 7001/tcp # callbacks to cache managers
|
||||
afs3-callback 7001/udp # callbacks to cache managers
|
||||
afs3-prserver 7002/tcp # users & groups database
|
||||
afs3-prserver 7002/udp # users & groups database
|
||||
afs3-vlserver 7003/tcp # volume location database
|
||||
afs3-vlserver 7003/udp # volume location database
|
||||
afs3-kaserver 7004/tcp # AFS/Kerberos authentication service
|
||||
afs3-kaserver 7004/udp # AFS/Kerberos authentication service
|
||||
afs3-volser 7005/tcp # volume management server
|
||||
afs3-volser 7005/udp # volume management server
|
||||
afs3-errors 7006/tcp # error interpretation service
|
||||
afs3-errors 7006/udp # error interpretation service
|
||||
afs3-bos 7007/tcp # basic overseer process
|
||||
afs3-bos 7007/udp # basic overseer process
|
||||
afs3-update 7008/tcp # server-to-server updater
|
||||
afs3-update 7008/udp # server-to-server updater
|
||||
afs3-rmtsys 7009/tcp # remote cache manager service
|
||||
afs3-rmtsys 7009/udp # remote cache manager service
|
||||
afs3-resserver 7010/tcp # MR-AFS residence server
|
||||
afs3-resserver 7010/udp # MR-AFS residence server
|
||||
afs3-remio 7011/tcp # MR-AFS remote IO server
|
||||
afs3-remio 7011/udp # MR-AFS remote IO server
|
||||
|
||||
#
|
||||
# Unofficial but necessary (for NetBSD) services
|
||||
#
|
||||
supfilesrv 871/tcp # SUP server
|
||||
supfiledbg 1127/tcp # SUP debugging
|
||||
|
||||
#
|
||||
# other common ports
|
||||
#
|
||||
swat 901/tcp # Samba Web Administration Tool
|
||||
sieve 2000/tcp # RFC3028
|
||||
lmtp 2003/tcp # Local Mail Transfer Protocol
|
||||
nfs 2049/udp nfsd # Sun NFS
|
||||
nfs 2049/tcp nfsd # Sun NFS
|
||||
suucp 4031/tcp # UUCP over SSL
|
||||
suucp 4031/udp # UUCP over SSL
|
||||
fud 4201/udp # Cyrus IMAP finger-like service
|
||||
X11 6000/tcp # X Window System
|
||||
ircd 6667/tcp # Often used IRC port (also see 194)
|
||||
sstp-2 9801/tcp # Sakura Script Transfer Protocol-2
|
||||
sstp-2 9801/udp # Sakura Script Transfer Protocol-2
|
||||
amanda 10080/udp # Amanda
|
||||
kamanda 10081/udp # Amanda with Kerberos
|
||||
amandaidx 10082/tcp # Amanda index server
|
||||
amidxtape 10083/tcp # Amanda dump image server
|
||||
italk 12345/tcp # Italk Chat System
|
||||
italk 12345/udp # Italk Chat System
|
||||
hunt 26740/udp # multi-player/multi-host maze-wars
|
||||
|
||||
#
|
||||
# Netatalk (in-kernel Appletalk) services
|
||||
# Note: The running kernel must be configured with "options NETATALK"
|
||||
# and software not included in NetBSD, such as Netatalk version 1.4b2
|
||||
# or later, must be used to take advantage of these services.
|
||||
#
|
||||
rtmp 1/ddp # Routing Table Maintenance Protocol
|
||||
nbp 2/ddp # Name Binding Protocol
|
||||
echo 4/ddp # AppleTalk Echo Protocol
|
||||
zip 6/ddp # Zone Information Protocol
|
||||
|
||||
# Iana registered Coda filesystem port numbers
|
||||
rpc2portmap 369/tcp
|
||||
rpc2portmap 369/udp # Coda portmapper
|
||||
codaauth2 370/tcp
|
||||
codaauth2 370/udp # Coda authentication server
|
||||
|
||||
# Iana registered dict port numbers
|
||||
dict 2628/tcp # DICT
|
||||
dict 2628/udp
|
||||
|
||||
venus 2430/tcp # codacon port
|
||||
venus 2430/udp # Venus callback/wbc interface
|
||||
venus-se 2431/tcp # tcp side effects
|
||||
venus-se 2431/udp # udp sftp side effect
|
||||
codasrv 2432/tcp # not used
|
||||
codasrv 2432/udp # server port
|
||||
codasrv-se 2433/tcp # tcp side effects
|
||||
codasrv-se 2433/udp # udp sftp side effect
|
||||
|
||||
# Iana registered ports commonly found in security logs
|
||||
epmap 135/tcp # DCE endpoint resolution
|
||||
epmap 135/udp # DCE endpoint resolution
|
||||
rtsp 554/tcp # Real Time Stream Control Protocol
|
||||
rtsp 554/udp # Real Time Stream Control Protocol
|
||||
socks 1080/tcp # Socks
|
||||
socks 1080/udp # Socks
|
||||
kazaa 1214/tcp # KAZAA
|
||||
kazaa 1214/udp # KAZAA
|
||||
ms-sql-s 1433/tcp # Microsoft-SQL-Server
|
||||
ms-sql-s 1433/udp # Microsoft-SQL-Server
|
||||
ms-sql-m 1434/tcp # Microsoft-SQL-Monitor
|
||||
ms-sql-m 1434/udp # Microsoft-SQL-Monitor
|
||||
ms-wbt-server 3389/tcp # MS WBT Server
|
||||
ms-wbt-server 3389/udp # MS WBT Server
|
||||
terabase 4000/tcp icq # used for both Terabase and ICQ
|
||||
terabase 4000/udp icq # used for both Terabase and ICQ
|
||||
radmin-port 4899/tcp # RAdmin Port
|
||||
radmin-port 4899/udp # RAdmin Port
|
||||
mdns 5353/tcp # Multicast DNS
|
||||
mdns 5353/udp # Multicast DNS
|
||||
http-alt 8080/tcp # HTTP Alternate (see port 80)
|
||||
http-alt 8080/udp # HTTP Alternate (see port 80)
|
||||
|
||||
# Zephyr services
|
||||
zephyr-clt 2103/udp # Zephyr serv-hm connection
|
||||
zephyr-hm 2104/udp # Zephyr hostmanager
|
||||
zephyr-hm-srv 2105/udp # Zephyr hm-serv connection
|
||||
|
||||
# sane daemon support
|
||||
sane-port 6566/tcp # SANE network scanner daemon
|
|
@ -4,6 +4,6 @@
|
|||
|
||||
/bin/sh
|
||||
/bin/bash
|
||||
|
||||
/bin/dash
|
||||
|
||||
# End of file
|
|
@ -1,7 +1,7 @@
|
|||
" An example for a vimrc file.
|
||||
"
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last change: 2002 Sep 19
|
||||
" Last change: 2006 Nov 16
|
||||
"
|
||||
" To use it, copy it to
|
||||
" for Unix and OS/2: ~/.vimrc
|
||||
|
@ -32,10 +32,6 @@ set incsearch " do incremental searching
|
|||
" Don't use Ex mode, use Q for formatting
|
||||
map Q gq
|
||||
|
||||
" This is an alternative that also works in block mode, but the deleted
|
||||
" text is lost and it only works for putting the current register.
|
||||
"vnoremap p "_dp
|
||||
|
||||
" Switch syntax highlighting on, when the terminal has colors
|
||||
" Also switch on highlighting the last used search pattern.
|
||||
if &t_Co > 2 || has("gui_running")
|
||||
|
@ -64,7 +60,7 @@ if has("autocmd")
|
|||
" (happens when dropping a file on gvim).
|
||||
autocmd BufReadPost *
|
||||
\ if line("'\"") > 0 && line("'\"") <= line("$") |
|
||||
\ exe "normal g`\"" |
|
||||
\ exe "normal! g`\"" |
|
||||
\ endif
|
||||
|
||||
augroup END
|
||||
|
@ -74,3 +70,4 @@ else
|
|||
set autoindent " always set autoindenting on
|
||||
|
||||
endif " has("autocmd")
|
||||
|
|
@ -20,24 +20,16 @@ export kinit_params=""
|
|||
export root=""
|
||||
echo "/sbin/modprobe" > /proc/sys/kernel/modprobe
|
||||
|
||||
for cmd in $CMDLINE; do
|
||||
case "$cmd" in
|
||||
for cmd in ${CMDLINE}; do
|
||||
case "${cmd}" in
|
||||
\#*) break ;; # ignore everything after a # in the commandline
|
||||
[0123456Ss]) export runlevel="$cmd" ;;
|
||||
[0123456Ss]) export runlevel="${cmd}" ;;
|
||||
single) export runlevel="S" ;; #some people use 'single'
|
||||
# replace can cause problems for the following entries
|
||||
# These should only be applied to the lefthand side of the expression
|
||||
# until we find a fix hardcode the stuff here.
|
||||
root=*) export "${cmd}";;
|
||||
md=*) export "${cmd}" ;;
|
||||
crypto=*) export "${cmd}" ;;
|
||||
resume2=*) export "${cmd}" ;;
|
||||
ip=*) export "${cmd}" ;;
|
||||
nfsaddrs=*) export "${cmd}" ;;
|
||||
nfsroot=*) export "${cmd}" ;;
|
||||
#Allow "init=X" to pass-through
|
||||
init=*) kinit_params="${kinit_params} ${cmd}" ;;
|
||||
# only export stuff that does work with dash :)
|
||||
*=*) cmd="$(replace "${cmd}" '.' '_')"
|
||||
cmd="$(replace "${cmd}" '-' '_')"
|
||||
*=*) cmd="$(replace -s= "${cmd}" '.' '_')"
|
||||
cmd="$(replace -s= "${cmd}" '-' '_')"
|
||||
export "${cmd}"
|
||||
;;
|
||||
*) cmd="$(replace "${cmd}" '.' '_')"
|
||||
|
@ -47,42 +39,42 @@ for cmd in $CMDLINE; do
|
|||
esac
|
||||
done
|
||||
|
||||
if [ "x${disablehooks}" != "x" ]; then
|
||||
if [ -n "${disablehooks}" ]; then
|
||||
for d in $(replace "${disablehooks}" ','); do
|
||||
export "hook_${d}=disabled"
|
||||
done
|
||||
fi
|
||||
|
||||
if [ "x${disablemodules}" != "x" ]; then
|
||||
if [ -n "${disablemodules}" ]; then
|
||||
for d in $(replace "${disablemodules}" ','); do
|
||||
export "mod_${d}=disabled"
|
||||
done
|
||||
fi
|
||||
|
||||
if [ "x${earlymodules}" != "x" ]; then
|
||||
if [ -n "${earlymodules}" ]; then
|
||||
for m in $(replace "${earlymodules}" ','); do
|
||||
/sbin/modprobe -q $m > /dev/null 2>&1
|
||||
/sbin/modprobe -q ${m} > /dev/null 2>&1
|
||||
done
|
||||
fi
|
||||
|
||||
. /config
|
||||
|
||||
for m in $MODULES; do
|
||||
for m in ${MODULES}; do
|
||||
TST=""
|
||||
eval "TST=\$mod_${m}"
|
||||
if [ "${TST}" != "disabled" ]; then
|
||||
/bin/modprobe -q $m > /dev/null 2>&1
|
||||
/bin/modprobe -q ${m} > /dev/null 2>&1
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -e "/hooks" ]; then
|
||||
for h in $HOOKS; do
|
||||
for h in ${HOOKS}; do
|
||||
TST=""
|
||||
eval "TST=\$hook_${h}"
|
||||
if [ "${TST}" != "disabled" ]; then
|
||||
run_hook () { msg "$h: no run function defined"; }
|
||||
if [ -e "/hooks/$h" ]; then
|
||||
. /hooks/$h
|
||||
run_hook () { msg "${h}: no run function defined"; }
|
||||
if [ -e "/hooks/${h}" ]; then
|
||||
. /hooks/${h}
|
||||
msg ":: Running Hook [${h}]"
|
||||
run_hook
|
||||
fi
|
||||
|
@ -118,7 +110,7 @@ else
|
|||
eval $(/bin/parseblock "${root}")
|
||||
if [ "${BLOCKNAME}" = "unknown" ]; then
|
||||
echo "ERROR: Failed to parse block device name for '${root}'"
|
||||
elif [ "x${BLOCKDEVICE}" = "x" ]; then
|
||||
elif [ -z "${BLOCKDEVICE}" ]; then
|
||||
echo "ERROR: Failed to parse block device ids for '${root}'"
|
||||
else
|
||||
export root="${BLOCKNAME}"
|
||||
|
@ -144,8 +136,8 @@ else
|
|||
fi
|
||||
#Special handling is udev is running
|
||||
udevpid=$(/bin/minips -C udevd -o pid=)
|
||||
if [ "x${udevpid}" != "x" ]; then
|
||||
/bin/kill -9 $udevpid
|
||||
if [ -n "${udevpid}" ]; then
|
||||
/bin/kill -9 ${udevpid}
|
||||
/bin/sleep 0.01
|
||||
fi
|
||||
exec /bin/kinit -- "root=${root}" ${kinit_params} "${runlevel}" > /dev/null 2>&1
|
|
@ -1,9 +1,5 @@
|
|||
Available boot options (no input will boot the install/rescue system):
|
||||
- 'arch <any_other_boot_option>' to boot the install/rescue system.
|
||||
- 'arch root=/dev/??? <any_other_boot_option>' to boot into an existing system.
|
||||
- If you have trouble with IDE drives, use the "ide-legacy" boot option
|
||||
- If your system hangs during the boot process, any combinations of the
|
||||
boot options noapic acpi=off pci=routeirq nosmp may be useful
|
||||
- 'memtest' to start the memory test program memtest86+.
|
||||
|
||||
|
||||
- For troubleshooting and other options press the F2 key.
|
||||
|
|
|
@ -4,9 +4,5 @@ Available boot options (no input will boot the install/rescue system):
|
|||
- 'lowmem <any_other_boot_option>' to boot the 64MB RAM install system.
|
||||
- 'lowmem root=/dev/??? <any_other_boot_option>' to boot into an existing
|
||||
64MB RAM system.
|
||||
- If you have trouble with IDE drives, use the "ide-legacy" boot option.
|
||||
- If your system hangs during the boot process, any combinations of the
|
||||
boot options noapic acpi=off pci=routeirq nosmp may be useful.
|
||||
- 'memtest' to start the memory test program memtest86+.
|
||||
|
||||
|
||||
- For troubleshooting and other options press the F2 key.
|
||||
|
|
4
etc/append-options
Normal file
4
etc/append-options
Normal file
|
@ -0,0 +1,4 @@
|
|||
Arch Linux options and troubleshooting:
|
||||
- If you have trouble with IDE drives, use the "ide-legacy" boot option
|
||||
- If your system hangs during the boot process, any combinations of the
|
||||
boot options noapic acpi=off pci=routeirq nosmp may be useful.
|
|
@ -1,12 +0,0 @@
|
|||
# Number of servers to be started up by default
|
||||
NFSD_OPTS=8
|
||||
|
||||
# Options to pass to rpc.mountd
|
||||
# e.g. MOUNTDOPTS="-p 32767"
|
||||
MOUNTD_OPTS="--no-nfs-version 1 --no-nfs-version 2"
|
||||
# Options to pass to rpc.statd
|
||||
# e.g. STATDOPTS="-p 32765 -o 32766"
|
||||
STATD_OPTS=""
|
||||
# Options to pass to rpc.rquotad
|
||||
# e.g. RQUOTADOPTS="-p 32764"
|
||||
RQUOTAD_OPTS=""
|
|
@ -1,5 +0,0 @@
|
|||
none /proc proc defaults 0 0
|
||||
none /sys sysfs defaults 0 0
|
||||
none /dev/pts devpts defaults 0 0
|
||||
none /dev/shm tmpfs defaults 0 0
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
|
||||
# For loopbacking.
|
||||
127.0.0.1 localhost.localdomain localhost
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
*filter
|
||||
:INPUT DROP [0:0]
|
||||
:FORWARD DROP [0:0]
|
||||
:OUTPUT ACCEPT [0:0]
|
||||
-A INPUT -i eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
|
||||
COMMIT
|
|
@ -1,6 +1,8 @@
|
|||
prompt @@PROMPT@@
|
||||
timeout @@TIMEOUT@@
|
||||
display boot.msg
|
||||
F1 boot.msg
|
||||
F2 options.msg
|
||||
default arch
|
||||
label arch
|
||||
kernel vmlinuz
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
prompt @@PROMPT@@
|
||||
timeout @@TIMEOUT@@
|
||||
display boot.msg
|
||||
F1 boot.msg
|
||||
F2 options.msg
|
||||
default arch
|
||||
label arch
|
||||
kernel vmlinuz
|
||||
|
|
35
etc/nanorc
35
etc/nanorc
|
@ -1,35 +0,0 @@
|
|||
set autoindent
|
||||
set const
|
||||
set historylog
|
||||
set nowrap
|
||||
set smooth
|
||||
set regexp
|
||||
set fill 72
|
||||
#set multibuffer
|
||||
set suspend
|
||||
|
||||
# Generic conf/rc/sh file syntax highlighting
|
||||
#############################################
|
||||
syntax "conf/rc/sh" "conf$|rc$|sh$"
|
||||
color white ".+"
|
||||
color green "^#.*"
|
||||
|
||||
# .nanorc syntax highlighting
|
||||
#############################
|
||||
syntax "nanorc" "[\.]*nanorc$"
|
||||
color white "^ *(set|unset).*$"
|
||||
color cyan "^ *(set|unset) (autoindent|backup|const|cut|fill|keypad|multibuffer|noconvert|nofollow|nohelp|nowrap|operatingdir|preserve|quotestr|regexp|smooth|speller|suspend|tabsize|tempfile|historylog|view)"
|
||||
color brightwhite "^ *syntax [^ ]*"
|
||||
color brightblue "^ *set\>" "^ *unset\>" "^ *syntax\>"
|
||||
color white "^ *color\>.*"
|
||||
color yellow "^ *color (bright)?(black|blue|cyan|green|magenta|red|white|yellow)\>"
|
||||
color magenta "^ *color\>"
|
||||
color green "^#.*$"
|
||||
|
||||
# grub.conf syntax highlighting
|
||||
###############################
|
||||
syntax "grub.conf" "grub\.conf"
|
||||
color cyan "(^default.+|^timeout.+)"
|
||||
color red "^title.+"
|
||||
color yellow "(initrd.+|kernel.+|root.+)"
|
||||
color green "^#.*"
|
|
@ -1,69 +0,0 @@
|
|||
#
|
||||
# The Community tree. These are community-maintained packages from the
|
||||
# Arch User Repository (http://aur.archlinux.org)
|
||||
|
||||
[community]
|
||||
# North America
|
||||
Server = ftp://ftp.archlinux.org/community/os/i686
|
||||
Server = ftp://ftp.nethat.com/pub/linux/archlinux/community/os/i686
|
||||
Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/community/os/i686
|
||||
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/community/os/i686
|
||||
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/community/os/i686
|
||||
Server = http://www2.cddc.vt.edu/linux/distributions/archlinux/community/os/i686
|
||||
|
||||
# Europe
|
||||
# -Austria
|
||||
Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/community/os/i686
|
||||
# - Belgium
|
||||
Server = ftp://ftp.belnet.be/packages/archlinux/community/os/i686
|
||||
# - Czech Republic
|
||||
Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/community/os/i686
|
||||
# - Estonia
|
||||
Server = ftp://ftp.estpak.ee/pub/archlinux/community/os/i686
|
||||
# - France
|
||||
Server = ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/archlinux/community/os/i686
|
||||
Server = ftp://mir1.archlinuxfr.org/archlinux/community/os/i686
|
||||
Server = ftp://mir2.archlinuxfr.org/archlinux/community/os/i686
|
||||
Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/community/os/i686
|
||||
Server = http://mirrors.jakimowicz.com/archlinux/community/os/i686
|
||||
# - Germany
|
||||
Server = ftp://ftp.tu-chemnitz.de/pub/linux/sunsite.unc-mirror/distributions/archlinux/community/os/i686
|
||||
Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/community/os/i686
|
||||
# - Great Britain
|
||||
Server = http://ftp.parrswood.manchester.sch.uk/Mirrors/ftp.archlinux.org/community/os/i686
|
||||
# - Greece
|
||||
Server = ftp://ftp.ntua.gr/pub/linux/archlinux/community/os/i686
|
||||
# - Ireland
|
||||
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/community/os/i686
|
||||
# - Italy
|
||||
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/community/os/i686
|
||||
# - Netherlands
|
||||
Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/community/os/i686
|
||||
Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/community/os/i686
|
||||
# - Norway
|
||||
Server= ftp://mirror.djzradio.net/archlinux/community/os/i686
|
||||
# - Poland
|
||||
Server = ftp://sunsite.icm.edu.pl/site/linux-sunsite/distributions/archlinux/community/os/i686
|
||||
Server = ftp://mirror.icis.pcz.pl/archlinux/community/os/i686
|
||||
# - Portugal
|
||||
Server = ftp://gul.est.ips.pt/repos/archlinux/community/os/i686
|
||||
Server = ftp://cesium.di.uminho.pt/pub/archlinux/community/os/i686
|
||||
Server = http://darkstar.ist.utl.pt/archlinux/community/os/i686
|
||||
# - Romania
|
||||
Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/community/os/i686
|
||||
# - Sweden
|
||||
Server = ftp://ftp.ds.hj.se/pub/linux/distributions/archlinux/community/os/i686
|
||||
Server = ftp://ftp.gigabit.nu/community/os/i686
|
||||
# - Switzerland
|
||||
Server = ftp://archlinux.puzzle.ch/community/os/i686
|
||||
# - Ukraine
|
||||
Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/community/os/i686
|
||||
|
||||
# Australia
|
||||
Server = ftp://mirror.pacific.net.au/linux/archlinux/community/os/i686
|
||||
|
||||
# Asia
|
||||
Server = ftp://cle.linux.org.tw/pub/ArchLinux/community/os/i686
|
||||
Server = http://mirror.vxmatrix.net/ArchLinux/community/os/i686
|
||||
Server = http://dxmirror.vxmatrix.net/ArchLinux/community/os/i686
|
||||
Server = http://cncmirror.vxmatrix.net/ArchLinux/community/os/i686
|
|
@ -1,68 +0,0 @@
|
|||
#
|
||||
# core: Arch Linux core repository
|
||||
#
|
||||
[core]
|
||||
# North America
|
||||
Server = ftp://ftp.archlinux.org/core/os/i686
|
||||
Server = ftp://ftp.nethat.com/pub/linux/archlinux/core/os/i686
|
||||
Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/core/os/i686
|
||||
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/core/os/i686
|
||||
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/core/os/i686
|
||||
Server = http://www2.cddc.vt.edu/linux/distributions/archlinux/core/os/i686
|
||||
|
||||
# Europe
|
||||
# -Austria
|
||||
Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/core/os/i686
|
||||
# - Belgium
|
||||
Server = ftp://ftp.belnet.be/packages/archlinux/core/os/i686
|
||||
# - Czech Republic
|
||||
Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/core/os/i686
|
||||
# - Estonia
|
||||
Server = ftp://ftp.estpak.ee/pub/archlinux/core/os/i686
|
||||
# - France
|
||||
Server = ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/archlinux/core/os/i686
|
||||
Server = ftp://mir1.archlinuxfr.org/archlinux/core/os/i686
|
||||
Server = ftp://mir2.archlinuxfr.org/archlinux/core/os/i686
|
||||
Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/core/os/i686
|
||||
Server = http://mirrors.jakimowicz.com/archlinux/core/os/i686
|
||||
# - Germany
|
||||
Server = ftp://ftp.tu-chemnitz.de/pub/linux/sunsite.unc-mirror/distributions/archlinux/core/os/i686
|
||||
Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/core/os/i686
|
||||
# - Great Britain
|
||||
Server = http://ftp.parrswood.manchester.sch.uk/Mirrors/ftp.archlinux.org/core/os/i686
|
||||
# - Greece
|
||||
Server = ftp://ftp.ntua.gr/pub/linux/archlinux/core/os/i686
|
||||
# - Ireland
|
||||
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/core/os/i686
|
||||
# - Italy
|
||||
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/core/os/i686
|
||||
# - Netherlands
|
||||
Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/core/os/i686
|
||||
Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/core/os/i686
|
||||
# - Norway
|
||||
Server= ftp://mirror.djzradio.net/archlinux/core/os/i686
|
||||
# - Poland
|
||||
Server = ftp://sunsite.icm.edu.pl/site/linux-sunsite/distributions/archlinux/core/os/i686
|
||||
Server = ftp://mirror.icis.pcz.pl/archlinux/core/os/i686
|
||||
# - Portugal
|
||||
Server = ftp://gul.est.ips.pt/repos/archlinux/core/os/i686
|
||||
Server = ftp://cesium.di.uminho.pt/pub/archlinux/core/os/i686
|
||||
Server = http://darkstar.ist.utl.pt/archlinux/core/os/i686
|
||||
# - Romania
|
||||
Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/core/os/i686
|
||||
# - Sweden
|
||||
Server = ftp://ftp.ds.hj.se/pub/linux/distributions/archlinux/core/os/i686
|
||||
Server = ftp://ftp.gigabit.nu/core/os/i686
|
||||
# - Switzerland
|
||||
Server = ftp://archlinux.puzzle.ch/core/os/i686
|
||||
# - Ukraine
|
||||
Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/core/os/i686
|
||||
|
||||
# Australia
|
||||
Server = ftp://mirror.pacific.net.au/linux/archlinux/core/os/i686
|
||||
|
||||
# Asia
|
||||
Server = ftp://cle.linux.org.tw/pub/ArchLinux/core/os/i686
|
||||
Server = http://mirror.vxmatrix.net/ArchLinux/core/os/i686
|
||||
Server = http://dxmirror.vxmatrix.net/ArchLinux/core/os/i686
|
||||
Server = http://cncmirror.vxmatrix.net/ArchLinux/core/os/i686
|
|
@ -1,68 +0,0 @@
|
|||
#
|
||||
# CURRENT: Arch Linux core repository
|
||||
#
|
||||
[current]
|
||||
# North America
|
||||
Server = ftp://ftp.archlinux.org/current/os/i686
|
||||
Server = ftp://ftp.nethat.com/pub/linux/archlinux/current/os/i686
|
||||
Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/current/os/i686
|
||||
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/current/os/i686
|
||||
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/current/os/i686
|
||||
Server = http://www2.cddc.vt.edu/linux/distributions/archlinux/current/os/i686
|
||||
|
||||
# Europe
|
||||
# -Austria
|
||||
Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/current/os/i686
|
||||
# - Belgium
|
||||
Server = ftp://ftp.belnet.be/packages/archlinux/current/os/i686
|
||||
# - Czech Republic
|
||||
Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/current/os/i686
|
||||
# - Estonia
|
||||
Server = ftp://ftp.estpak.ee/pub/archlinux/current/os/i686
|
||||
# - France
|
||||
Server = ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/archlinux/current/os/i686
|
||||
Server = ftp://mir1.archlinuxfr.org/archlinux/current/os/i686
|
||||
Server = ftp://mir2.archlinuxfr.org/archlinux/current/os/i686
|
||||
Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/current/os/i686
|
||||
Server = http://mirrors.jakimowicz.com/archlinux/current/os/i686
|
||||
# - Germany
|
||||
Server = ftp://ftp.tu-chemnitz.de/pub/linux/sunsite.unc-mirror/distributions/archlinux/current/os/i686
|
||||
Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/current/os/i686
|
||||
# - Great Britain
|
||||
Server = http://ftp.parrswood.manchester.sch.uk/Mirrors/ftp.archlinux.org/current/os/i686
|
||||
# - Greece
|
||||
Server = ftp://ftp.ntua.gr/pub/linux/archlinux/current/os/i686
|
||||
# - Ireland
|
||||
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/current/os/i686
|
||||
# - Italy
|
||||
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/current/os/i686
|
||||
# - Netherlands
|
||||
Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/current/os/i686
|
||||
Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/current/os/i686
|
||||
# - Norway
|
||||
Server= ftp://mirror.djzradio.net/archlinux/current/os/i686
|
||||
# - Poland
|
||||
Server = ftp://sunsite.icm.edu.pl/site/linux-sunsite/distributions/archlinux/current/os/i686
|
||||
Server = ftp://mirror.icis.pcz.pl/archlinux/current/os/i686
|
||||
# - Portugal
|
||||
Server = ftp://gul.est.ips.pt/repos/archlinux/current/os/i686
|
||||
Server = ftp://cesium.di.uminho.pt/pub/archlinux/current/os/i686
|
||||
Server = http://darkstar.ist.utl.pt/archlinux/current/os/i686
|
||||
# - Romania
|
||||
Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/current/os/i686
|
||||
# - Sweden
|
||||
Server = ftp://ftp.ds.hj.se/pub/linux/distributions/archlinux/current/os/i686
|
||||
Server = ftp://ftp.gigabit.nu/current/os/i686
|
||||
# - Switzerland
|
||||
Server = ftp://archlinux.puzzle.ch/current/os/i686
|
||||
# - Ukraine
|
||||
Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/current/os/i686
|
||||
|
||||
# Australia
|
||||
Server = ftp://mirror.pacific.net.au/linux/archlinux/current/os/i686
|
||||
|
||||
# Asia
|
||||
Server = ftp://cle.linux.org.tw/pub/ArchLinux/current/os/i686
|
||||
Server = http://mirror.vxmatrix.net/ArchLinux/current/os/i686
|
||||
Server = http://dxmirror.vxmatrix.net/ArchLinux/current/os/i686
|
||||
Server = http://cncmirror.vxmatrix.net/ArchLinux/current/os/i686
|
|
@ -1,68 +0,0 @@
|
|||
#
|
||||
# EXTRA: Arch Linux secondary repository
|
||||
#
|
||||
[extra]
|
||||
# North America
|
||||
Server = ftp://ftp.archlinux.org/extra/os/i686
|
||||
Server = ftp://ftp.nethat.com/pub/linux/archlinux/extra/os/i686
|
||||
Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/extra/os/i686
|
||||
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/extra/os/i686
|
||||
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/extra/os/i686
|
||||
Server = http://www2.cddc.vt.edu/linux/distributions/archlinux/extra/os/i686
|
||||
|
||||
# Europe
|
||||
# -Austria
|
||||
Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/extra/os/i686
|
||||
# - Belgium
|
||||
Server = ftp://ftp.belnet.be/packages/archlinux/extra/os/i686
|
||||
# - Czech Republic
|
||||
Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/extra/os/i686
|
||||
# - Estonia
|
||||
Server = ftp://ftp.estpak.ee/pub/archlinux/extra/os/i686
|
||||
# - France
|
||||
Server = ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/archlinux/extra/os/i686
|
||||
Server = ftp://mir1.archlinuxfr.org/archlinux/extra/os/i686
|
||||
Server = ftp://mir2.archlinuxfr.org/archlinux/extra/os/i686
|
||||
Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/extra/os/i686
|
||||
Server = http://mirrors.jakimowicz.com/archlinux/extra/os/i686
|
||||
# - Germany
|
||||
Server = ftp://ftp.tu-chemnitz.de/pub/linux/sunsite.unc-mirror/distributions/archlinux/extra/os/i686
|
||||
Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/extra/os/i686
|
||||
# - Great Britain
|
||||
Server = http://ftp.parrswood.manchester.sch.uk/Mirrors/ftp.archlinux.org/extra/os/i686
|
||||
# - Greece
|
||||
Server = ftp://ftp.ntua.gr/pub/linux/archlinux/extra/os/i686
|
||||
# - Ireland
|
||||
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/extra/os/i686
|
||||
# - Italy
|
||||
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/extra/os/i686
|
||||
# - Netherlands
|
||||
Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/extra/os/i686
|
||||
Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/extra/os/i686
|
||||
# - Norway
|
||||
Server= ftp://mirror.djzradio.net/archlinux/extra/os/i686
|
||||
# - Poland
|
||||
Server = ftp://sunsite.icm.edu.pl/site/linux-sunsite/distributions/archlinux/extra/os/i686
|
||||
Server = ftp://mirror.icis.pcz.pl/archlinux/extra/os/i686
|
||||
# - Portugal
|
||||
Server = ftp://gul.est.ips.pt/repos/archlinux/extra/os/i686
|
||||
Server = ftp://cesium.di.uminho.pt/pub/archlinux/extra/os/i686
|
||||
Server = http://darkstar.ist.utl.pt/archlinux/extra/os/i686
|
||||
# - Romania
|
||||
Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/extra/os/i686
|
||||
# - Sweden
|
||||
Server = ftp://ftp.ds.hj.se/pub/linux/distributions/archlinux/extra/os/i686
|
||||
Server = ftp://ftp.gigabit.nu/extra/os/i686
|
||||
# - Switzerland
|
||||
Server = ftp://archlinux.puzzle.ch/extra/os/i686
|
||||
# - Ukraine
|
||||
Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/extra/os/i686
|
||||
|
||||
# Australia
|
||||
Server = ftp://mirror.pacific.net.au/linux/archlinux/extra/os/i686
|
||||
|
||||
# Asia
|
||||
Server = ftp://cle.linux.org.tw/pub/ArchLinux/extra/os/i686
|
||||
Server = http://mirror.vxmatrix.net/ArchLinux/extra/os/i686
|
||||
Server = http://dxmirror.vxmatrix.net/ArchLinux/extra/os/i686
|
||||
Server = http://cncmirror.vxmatrix.net/ArchLinux/extra/os/i686
|
|
@ -1,52 +0,0 @@
|
|||
#
|
||||
# /etc/pacman.conf
|
||||
#
|
||||
# NOTE: If you find a mirror that is geographically close to you, please
|
||||
# move it to the top of the server list, so pacman will choose it
|
||||
# first.
|
||||
#
|
||||
# To re-sort your mirror lists by ping/traceroute results, use the
|
||||
# /usr/bin/sortmirrors script. It requires the "netselect" package.
|
||||
#
|
||||
|
||||
# See the pacman manpage for option directives
|
||||
|
||||
#
|
||||
# GENERAL OPTIONS
|
||||
#
|
||||
[options]
|
||||
LogFile = /var/log/pacman.log
|
||||
HoldPkg = pacman glibc
|
||||
XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
|
||||
|
||||
#
|
||||
# REPOSITORIES
|
||||
# - can be defined here or included from another file
|
||||
# - pacman will search repositories in the order defined here.
|
||||
# - local/custom mirrors can be added here or in separate files
|
||||
#
|
||||
|
||||
#[testing]
|
||||
#Server = ftp://ftp.archlinux.org/testing/os/i686
|
||||
|
||||
[core]
|
||||
# Add your preferred servers here, they will be used first
|
||||
Include = /etc/pacman.d/core
|
||||
|
||||
[extra]
|
||||
# Add your preferred servers here, they will be used first
|
||||
Include = /etc/pacman.d/extra
|
||||
|
||||
#[unstable]
|
||||
# Add your preferred servers here, they will be used first
|
||||
#Include = /etc/pacman.d/unstable
|
||||
|
||||
#[community]
|
||||
# Add your preferred servers here, they will be used first
|
||||
#Include = /etc/pacman.d/community
|
||||
|
||||
# An example of a custom package repository. See the pacman manpage for
|
||||
# tips on creating your own repositories.
|
||||
#[custom]
|
||||
#Server = file:///home/custompkgs
|
||||
|
|
@ -1,73 +0,0 @@
|
|||
#
|
||||
# The Release tree. This tree is a snapshot view of the Current (core)
|
||||
# repository as it was when the last ISO was released.
|
||||
#
|
||||
# If you use the RELEASE tree, you should disable the CURRENT
|
||||
# tree to avoid conflicts.
|
||||
#
|
||||
|
||||
[release]
|
||||
# North America
|
||||
Server = ftp://ftp.archlinux.org/release/os/i686
|
||||
Server = ftp://ftp.nethat.com/pub/linux/archlinux/release/os/i686
|
||||
Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/release/os/i686
|
||||
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/release/os/i686
|
||||
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/release/os/i686
|
||||
Server = http://www2.cddc.vt.edu/linux/distributions/archlinux/release/os/i686
|
||||
|
||||
# Europe
|
||||
# -Austria
|
||||
Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/release/os/i686
|
||||
# - Belgium
|
||||
Server = ftp://ftp.belnet.be/packages/archlinux/release/os/i686
|
||||
# - Czech Republic
|
||||
Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/release/os/i686
|
||||
# - Estonia
|
||||
Server = ftp://ftp.estpak.ee/pub/archlinux/release/os/i686
|
||||
# - France
|
||||
Server = ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/archlinux/release/os/i686
|
||||
Server = ftp://mir1.archlinuxfr.org/archlinux/release/os/i686
|
||||
Server = ftp://mir2.archlinuxfr.org/archlinux/release/os/i686
|
||||
Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/release/os/i686
|
||||
Server = http://mirrors.jakimowicz.com/archlinux/release/os/i686
|
||||
# - Germany
|
||||
Server = ftp://ftp.tu-chemnitz.de/pub/linux/sunsite.unc-mirror/distributions/archlinux/release/os/i686
|
||||
Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/release/os/i686
|
||||
# - Great Britain
|
||||
Server = http://ftp.parrswood.manchester.sch.uk/Mirrors/ftp.archlinux.org/release/os/i686
|
||||
# - Greece
|
||||
Server = ftp://ftp.ntua.gr/pub/linux/archlinux/release/os/i686
|
||||
# - Ireland
|
||||
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/release/os/i686
|
||||
# - Italy
|
||||
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/release/os/i686
|
||||
# - Netherlands
|
||||
Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/release/os/i686
|
||||
Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/release/os/i686
|
||||
# - Norway
|
||||
Server= ftp://mirror.djzradio.net/archlinux/release/os/i686
|
||||
# - Poland
|
||||
Server = ftp://sunsite.icm.edu.pl/site/linux-sunsite/distributions/archlinux/release/os/i686
|
||||
Server = ftp://mirror.icis.pcz.pl/archlinux/release/os/i686
|
||||
# - Portugal
|
||||
Server = ftp://gul.est.ips.pt/repos/archlinux/release/os/i686
|
||||
Server = ftp://cesium.di.uminho.pt/pub/archlinux/release/os/i686
|
||||
Server = http://darkstar.ist.utl.pt/archlinux/release/os/i686
|
||||
# - Romania
|
||||
Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/release/os/i686
|
||||
# - Sweden
|
||||
Server = ftp://ftp.ds.hj.se/pub/linux/distributions/archlinux/release/os/i686
|
||||
Server = ftp://ftp.gigabit.nu/release/os/i686
|
||||
# - Switzerland
|
||||
Server = ftp://archlinux.puzzle.ch/release/os/i686
|
||||
# - Ukraine
|
||||
Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/release/os/i686
|
||||
|
||||
# Australia
|
||||
Server = ftp://mirror.pacific.net.au/linux/archlinux/release/os/i686
|
||||
|
||||
# Asia
|
||||
Server = ftp://cle.linux.org.tw/pub/ArchLinux/release/os/i686
|
||||
Server = http://mirror.vxmatrix.net/ArchLinux/release/os/i686
|
||||
Server = http://dxmirror.vxmatrix.net/ArchLinux/release/os/i686
|
||||
Server = http://cncmirror.vxmatrix.net/ArchLinux/release/os/i686
|
|
@ -1,68 +0,0 @@
|
|||
#
|
||||
# UNSTABLE: Development/Unstable branches of software
|
||||
#
|
||||
[unstable]
|
||||
# North America
|
||||
Server = ftp://ftp.archlinux.org/unstable/os/i686
|
||||
Server = ftp://ftp.nethat.com/pub/linux/archlinux/unstable/os/i686
|
||||
Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/unstable/os/i686
|
||||
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/unstable/os/i686
|
||||
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/unstable/os/i686
|
||||
Server = http://www2.cddc.vt.edu/linux/distributions/archlinux/unstable/os/i686
|
||||
|
||||
# Europe
|
||||
# -Austria
|
||||
Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/unstable/os/i686
|
||||
# - Belgium
|
||||
Server = ftp://ftp.belnet.be/packages/archlinux/unstable/os/i686
|
||||
# - Czech Republic
|
||||
Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/unstable/os/i686
|
||||
# - Estonia
|
||||
Server = ftp://ftp.estpak.ee/pub/archlinux/unstable/os/i686
|
||||
# - France
|
||||
Server = ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/archlinux/unstable/os/i686
|
||||
Server = ftp://mir1.archlinuxfr.org/archlinux/unstable/os/i686
|
||||
Server = ftp://mir2.archlinuxfr.org/archlinux/unstable/os/i686
|
||||
Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/unstable/os/i686
|
||||
Server = http://mirrors.jakimowicz.com/archlinux/unstable/os/i686
|
||||
# - Germany
|
||||
Server = ftp://ftp.tu-chemnitz.de/pub/linux/sunsite.unc-mirror/distributions/archlinux/unstable/os/i686
|
||||
Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/unstable/os/i686
|
||||
# - Great Britain
|
||||
Server = http://ftp.parrswood.manchester.sch.uk/Mirrors/ftp.archlinux.org/unstable/os/i686
|
||||
# - Greece
|
||||
Server = ftp://ftp.ntua.gr/pub/linux/archlinux/unstable/os/i686
|
||||
# - Ireland
|
||||
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/unstable/os/i686
|
||||
# - Italy
|
||||
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/unstable/os/i686
|
||||
# - Netherlands
|
||||
Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/unstable/os/i686
|
||||
Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/unstable/os/i686
|
||||
# - Norway
|
||||
Server= ftp://mirror.djzradio.net/archlinux/unstable/os/i686
|
||||
# - Poland
|
||||
Server = ftp://sunsite.icm.edu.pl/site/linux-sunsite/distributions/archlinux/unstable/os/i686
|
||||
Server = ftp://mirror.icis.pcz.pl/archlinux/unstable/os/i686
|
||||
# - Portugal
|
||||
Server = ftp://gul.est.ips.pt/repos/archlinux/unstable/os/i686
|
||||
Server = ftp://cesium.di.uminho.pt/pub/archlinux/unstable/os/i686
|
||||
Server = http://darkstar.ist.utl.pt/archlinux/unstable/os/i686
|
||||
# - Romania
|
||||
Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/unstable/os/i686
|
||||
# - Sweden
|
||||
Server = ftp://ftp.ds.hj.se/pub/linux/distributions/archlinux/unstable/os/i686
|
||||
Server = ftp://ftp.gigabit.nu/unstable/os/i686
|
||||
# - Switzerland
|
||||
Server = ftp://archlinux.puzzle.ch/unstable/os/i686
|
||||
# - Ukraine
|
||||
Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/unstable/os/i686
|
||||
|
||||
# Australia
|
||||
Server = ftp://mirror.pacific.net.au/linux/archlinux/unstable/os/i686
|
||||
|
||||
# Asia
|
||||
Server = ftp://cle.linux.org.tw/pub/ArchLinux/unstable/os/i686
|
||||
Server = http://mirror.vxmatrix.net/ArchLinux/unstable/os/i686
|
||||
Server = http://dxmirror.vxmatrix.net/ArchLinux/unstable/os/i686
|
||||
Server = http://cncmirror.vxmatrix.net/ArchLinux/unstable/os/i686
|
|
@ -1,18 +0,0 @@
|
|||
#
|
||||
# protocols This file describes the various protocols that are
|
||||
# available from the TCP/IP subsystem. It should be
|
||||
# consulted instead of using the numbers in the ARPA
|
||||
# include files, or, worse, just guessing them.
|
||||
#
|
||||
|
||||
ip 0 IP # internet protocol, pseudo protocol number
|
||||
icmp 1 ICMP # internet control message protocol
|
||||
igmp 2 IGMP # internet group multicast protocol
|
||||
ggp 3 GGP # gateway-gateway protocol
|
||||
tcp 6 TCP # transmission control protocol
|
||||
pup 12 PUP # PARC universal packet protocol
|
||||
udp 17 UDP # user datagram protocol
|
||||
idp 22 IDP # WhatsThis?
|
||||
raw 255 RAW # RAW IP interface
|
||||
|
||||
# End.
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# /etc/rc.local: Local startup script.
|
||||
#
|
||||
# End of file
|
|
@ -1,8 +0,0 @@
|
|||
# /etc/exports
|
||||
#
|
||||
# See exports(5) for a description.
|
||||
|
||||
# use exportfs -arv to reread
|
||||
#/export 192.168.1.10(rw,no_root_squash)
|
||||
|
||||
|
182
etc/services
182
etc/services
|
@ -1,182 +0,0 @@
|
|||
#
|
||||
# Network services, Internet style
|
||||
#
|
||||
# Note that it is presently the policy of IANA to assign a single well-known
|
||||
# port number for both TCP and UDP; hence, most entries here have two entries
|
||||
# even if the protocol doesn't support UDP operations.
|
||||
# Updated from RFC 1340, ``Assigned Numbers'' (July 1992). Not all ports
|
||||
# are included, only the more common ones.
|
||||
#
|
||||
# from: @(#)services 5.8 (Berkeley) 5/9/91
|
||||
# $Id$
|
||||
#
|
||||
tcpmux 1/tcp # TCP port service multiplexer
|
||||
echo 7/tcp
|
||||
echo 7/udp
|
||||
discard 9/tcp sink null
|
||||
discard 9/udp sink null
|
||||
systat 11/tcp users
|
||||
daytime 13/tcp
|
||||
daytime 13/udp
|
||||
netstat 15/tcp
|
||||
qotd 17/tcp quote
|
||||
msp 18/tcp # message send protocol
|
||||
msp 18/udp # message send protocol
|
||||
chargen 19/tcp ttytst source
|
||||
chargen 19/udp ttytst source
|
||||
ftp 21/tcp
|
||||
# 22 - unassigned
|
||||
telnet 23/tcp
|
||||
# 24 - private
|
||||
smtp 25/tcp mail
|
||||
# 26 - unassigned
|
||||
time 37/tcp timserver
|
||||
time 37/udp timserver
|
||||
rlp 39/udp resource # resource location
|
||||
nameserver 42/tcp name # IEN 116
|
||||
whois 43/tcp nicname
|
||||
domain 53/tcp nameserver # name-domain server
|
||||
domain 53/udp nameserver
|
||||
mtp 57/tcp # deprecated
|
||||
bootps 67/tcp # BOOTP server
|
||||
bootps 67/udp
|
||||
bootpc 68/tcp # BOOTP client
|
||||
bootpc 68/udp
|
||||
tftp 69/udp
|
||||
gopher 70/tcp # Internet Gopher
|
||||
gopher 70/udp
|
||||
rje 77/tcp netrjs
|
||||
finger 79/tcp
|
||||
www 80/tcp http # WorldWideWeb HTTP
|
||||
www 80/udp # HyperText Transfer Protocol
|
||||
link 87/tcp ttylink
|
||||
kerberos 88/tcp krb5 # Kerberos v5
|
||||
kerberos 88/udp
|
||||
supdup 95/tcp
|
||||
# 100 - reserved
|
||||
hostnames 101/tcp hostname # usually from sri-nic
|
||||
iso-tsap 102/tcp tsap # part of ISODE.
|
||||
csnet-ns 105/tcp cso-ns # also used by CSO name server
|
||||
csnet-ns 105/udp cso-ns
|
||||
rtelnet 107/tcp # Remote Telnet
|
||||
rtelnet 107/udp
|
||||
pop2 109/tcp postoffice # POP version 2
|
||||
pop2 109/udp
|
||||
pop3 110/tcp # POP version 3
|
||||
pop3 110/udp
|
||||
sunrpc 111/tcp
|
||||
sunrpc 111/udp
|
||||
auth 113/tcp tap ident authentication
|
||||
sftp 115/tcp
|
||||
uucp-path 117/tcp
|
||||
nntp 119/tcp readnews untp # USENET News Transfer Protocol
|
||||
ntp 123/tcp
|
||||
ntp 123/udp # Network Time Protocol
|
||||
netbios-ns 137/tcp # NETBIOS Name Service
|
||||
netbios-ns 137/udp
|
||||
netbios-dgm 138/tcp # NETBIOS Datagram Service
|
||||
netbios-dgm 138/udp
|
||||
netbios-ssn 139/tcp # NETBIOS session service
|
||||
netbios-ssn 139/udp
|
||||
imap2 143/tcp # Interim Mail Access Proto v2
|
||||
imap2 143/udp
|
||||
snmp 161/udp # Simple Net Mgmt Proto
|
||||
snmp-trap 162/udp snmptrap # Traps for SNMP
|
||||
cmip-man 163/tcp # ISO mgmt over IP (CMOT)
|
||||
cmip-man 163/udp
|
||||
cmip-agent 164/tcp
|
||||
cmip-agent 164/udp
|
||||
xdmcp 177/tcp # X Display Mgr. Control Proto
|
||||
xdmcp 177/udp
|
||||
nextstep 178/tcp NeXTStep NextStep # NeXTStep window
|
||||
nextstep 178/udp NeXTStep NextStep # server
|
||||
bgp 179/tcp # Border Gateway Proto.
|
||||
bgp 179/udp
|
||||
prospero 191/tcp # Cliff Neuman's Prospero
|
||||
prospero 191/udp
|
||||
irc 194/tcp # Internet Relay Chat
|
||||
irc 194/udp
|
||||
smux 199/tcp # SNMP Unix Multiplexer
|
||||
smux 199/udp
|
||||
at-rtmp 201/tcp # AppleTalk routing
|
||||
at-rtmp 201/udp
|
||||
at-nbp 202/tcp # AppleTalk name binding
|
||||
at-nbp 202/udp
|
||||
at-echo 204/tcp # AppleTalk echo
|
||||
at-echo 204/udp
|
||||
at-zis 206/tcp # AppleTalk zone information
|
||||
at-zis 206/udp
|
||||
z3950 210/tcp wais # NISO Z39.50 database
|
||||
z3950 210/udp wais
|
||||
ipx 213/tcp # IPX
|
||||
ipx 213/udp
|
||||
imap3 220/tcp # Interactive Mail Access
|
||||
imap3 220/udp # Protocol v3
|
||||
ulistserv 372/tcp # UNIX Listserv
|
||||
ulistserv 372/udp
|
||||
#
|
||||
# UNIX specific services
|
||||
#
|
||||
exec 512/tcp
|
||||
biff 512/udp comsat
|
||||
login 513/tcp
|
||||
who 513/udp whod
|
||||
shell 514/tcp cmd # no passwords used
|
||||
syslog 514/udp
|
||||
printer 515/tcp spooler # line printer spooler
|
||||
talk 517/udp
|
||||
ntalk 518/udp
|
||||
route 520/udp router routed # RIP
|
||||
timed 525/udp timeserver
|
||||
tempo 526/tcp newdate
|
||||
courier 530/tcp rpc
|
||||
conference 531/tcp chat
|
||||
netnews 532/tcp readnews
|
||||
netwall 533/udp # -for emergency broadcasts
|
||||
uucp 540/tcp uucpd # uucp daemon
|
||||
remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem
|
||||
klogin 543/tcp # Kerberized `rlogin' (v5)
|
||||
kshell 544/tcp # Kerberized `rsh' (v5)
|
||||
kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
|
||||
#
|
||||
webster 765/tcp # Network dictionary
|
||||
webster 765/udp
|
||||
#
|
||||
# From ``Assigned Numbers'':
|
||||
#
|
||||
#> The Registered Ports are not controlled by the IANA and on most systems
|
||||
#> can be used by ordinary user processes or programs executed by ordinary
|
||||
#> users.
|
||||
#
|
||||
#> Ports are used in the TCP [45,106] to name the ends of logical
|
||||
#> connections which carry long term conversations. For the purpose of
|
||||
#> providing services to unknown callers, a service contact port is
|
||||
#> defined. This list specifies the port used by the server process as its
|
||||
#> contact port. While the IANA can not control uses of these ports it
|
||||
#> does register or list uses of these ports as a convienence to the
|
||||
#> community.
|
||||
#
|
||||
ingreslock 1524/tcp
|
||||
ingreslock 1524/udp
|
||||
prospero-np 1525/tcp # Prospero non-privileged
|
||||
prospero-np 1525/udp
|
||||
rfe 5002/tcp # Radio Free Ethernet
|
||||
rfe 5002/udp # Actually uses UDP only
|
||||
#
|
||||
#
|
||||
# Kerberos (Project Athena/MIT) services
|
||||
# Note that these are for Kerberos v4, and are unofficial. Sites running
|
||||
# v4 should uncomment these and comment out the v5 entries above.
|
||||
#
|
||||
#kerberos 750/udp kdc # Kerberos (server) udp
|
||||
#kerberos 750/tcp kdc # Kerberos (server) tcp
|
||||
krbupdate 760/tcp kreg # Kerberos registration
|
||||
kpasswd 761/tcp kpwd # Kerberos "passwd"
|
||||
#klogin 543/tcp # Kerberos rlogin
|
||||
eklogin 2105/tcp # Kerberos encrypted rlogin
|
||||
#kshell 544/tcp krcmd # Kerberos remote shell
|
||||
#
|
||||
# Unofficial but necessary (for NetBSD) services
|
||||
#
|
||||
supfilesrv 871/tcp # SUP server
|
||||
supfiledbg 1127/tcp # SUP debugging
|
391
etc/udev.rules
391
etc/udev.rules
|
@ -1,391 +0,0 @@
|
|||
# Udev rules for Archlinux by Tobias Powalowski <tpowa@archlinux.org>
|
||||
#
|
||||
# This ruleset should provide a DevFS-compatible device tree.
|
||||
#
|
||||
# There are a number of modifiers that are allowed to be used in some
|
||||
# of the different fields. They provide the following subsitutions:
|
||||
#
|
||||
# %n the "kernel number" of the device.
|
||||
# For example, 'sda3' has a "kernel number" of '3'
|
||||
# %k the kernel name for the device.
|
||||
# %M the kernel major number for the device
|
||||
# %m the kernel minor number for the device
|
||||
# %b the bus id for the device
|
||||
# %c the string returned by the PROGRAM
|
||||
# %s{filename} the content of a sysfs attribute.
|
||||
# %% the '%' char itself.
|
||||
#
|
||||
# There are a number of modifiers that are allowed to be used in some of the
|
||||
# fields. See the udev man page for a full description of them.
|
||||
# global stuff
|
||||
#
|
||||
|
||||
#####################################
|
||||
# Early rules - begin
|
||||
#####################################
|
||||
# wait for sysfs
|
||||
ACTION=="add", KERNEL=="[0-9]*:[0-9]*", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"
|
||||
#####################################
|
||||
# Early rules -end
|
||||
#####################################
|
||||
|
||||
#####################################
|
||||
###### Hotplug rules - begin
|
||||
#####################################
|
||||
|
||||
# Modaliases to load
|
||||
ACTION=="add", ENV{MODALIAS}=="?*", RUN+="/lib/udev/load-modules.sh $env{MODALIAS}"
|
||||
# SCSI addon modules
|
||||
ACTION=="add", SUBSYSTEM=="scsi", ATTRS{type}=="[07]", RUN+="/lib/udev/load-modules.sh sd_mod"
|
||||
ACTION=="add", SUBSYSTEM=="scsi", ATTRS{type}=="14", RUN+="/lib/udev/load-modules.sh sd_mod"
|
||||
ACTION=="add", SUBSYSTEM=="scsi", ATTRS{type}=="[45]", RUN+="/lib/udev/load-modules.sh sr_mod"
|
||||
ACTION=="add", SUBSYSTEM=="scsi", ATTRS{type}=="1", ATTRS{vendor}=="Onstream", ATTRS{model}!="ADR*", RUN+="/lib/udev/load-modules.sh osst"
|
||||
ACTION=="add", SUBSYSTEM=="scsi", ATTRS{type}=="1", ATTRS{vendor}=="Onstream", ATTRS{model}=="ADR*", RUN+="/lib/udev/load-modules.sh st"
|
||||
ACTION=="add", SUBSYSTEM=="scsi", ATTRS{type}=="1", ATTRS{vendor}!="Onstream", RUN+="/lib/udev/load-modules.sh st"
|
||||
ACTION=="add", SUBSYSTEM=="scsi", ATTRS{type}=="[23689]", RUN+="/lib/udev/load-modules.sh sg"
|
||||
ACTION=="add", SUBSYSTEM=="mmc", RUN+="/lib/udev/load-modules.sh mmc_block"
|
||||
|
||||
LABEL="hotplug_driver_loaded"
|
||||
|
||||
# fix ide cdrom detection on old proliant servers
|
||||
ACTION=="add", SUBSYSTEM=="pci", ENV{MODALIAS}=="pci:v00000E11d00000001sv00000000sd00000000bc06sc02i00", RUN+="/lib/udev/load-modules.sh ide-generic"
|
||||
|
||||
# FIRMWARE
|
||||
ACTION=="add", SUBSYSTEM=="firmware", ENV{FIRMWARE}=="?*", RUN+="/lib/udev/firmware.sh"
|
||||
#####################################
|
||||
##### Hotplug rules - end
|
||||
#####################################
|
||||
|
||||
#####################################
|
||||
###### CD/DVD symlinks - begin
|
||||
#####################################
|
||||
ACTION=="add", SUBSYSTEMS=="ide", KERNEL=="hd[a-z]", IMPORT="/lib/udev/cdrom_id --export $tempnode"
|
||||
ACTION=="add", SUBSYSTEMS=="scsi", KERNEL=="sr[0-9]*", IMPORT="/lib/udev/cdrom_id --export $tempnode"
|
||||
ACTION=="add", SUBSYSTEMS=="scsi", KERNEL=="scd[a-z]", IMPORT="/lib/udev/cdrom_id --export $tempnode"
|
||||
ENV{ID_CDROM}=="?*", SYMLINK+="cd/cdrom-%b"
|
||||
ENV{ID_CDROM_CD_RW}=="?*", SYMLINK+="cd/cdrw-%b"
|
||||
ENV{ID_CDROM_DVD}=="?*", SYMLINK+="cd/dvd-%b"
|
||||
ENV{ID_CDROM_DVD_R}=="?*", SYMLINK+="cd/dvd-%b"
|
||||
ACTION=="add", SUBSYSTEMS=="ide", KERNEL=="hd[a-z]", ATTR{removable}=="1", ATTRS{media}=="cdrom*", RUN+="/lib/udev/cdsymlinks.sh"
|
||||
ACTION=="add", SUBSYSTEMS=="scsi", KERNEL=="sr[0-9]*", ATTRS{type}=="5", RUN+="/lib/udev/cdsymlinks.sh"
|
||||
ACTION=="add", SUBSYSTEMS=="scsi", KERNEL=="sg[0-9]*", ATTRS{type}=="5", RUN+="/lib/udev/cdsymlinks.sh"
|
||||
ACTION=="remove", SUBSYSTEMS=="block", KERNEL=="hd[a-z]", RUN+="/lib/udev/cdsymlinks.sh"
|
||||
ACTION=="remove", SUBSYSTEMS=="block", KERNEL=="sr[0-9]*", RUN+="/lib/udev/cdsymlinks.sh"
|
||||
ACTION=="remove", SUBSYSTEMS=="block", KERNEL=="sg[0-9]*", RUN+="/lib/udev/cdsymlinks.sh"
|
||||
#####################################
|
||||
###### CD/DVD symlinks - end
|
||||
#####################################
|
||||
|
||||
#####################################
|
||||
##### PCMCIA rules - begin
|
||||
#####################################
|
||||
# PCMCIA devices:
|
||||
#
|
||||
|
||||
# Very few CIS firmware entries (which we use for matching)
|
||||
# are so broken that we need to read out random bytes of it
|
||||
# instead of the manufactor, card or product ID. Then the
|
||||
# matching is done in userspace.
|
||||
ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", RUN+="/sbin/pcmcia-check-broken-cis"
|
||||
|
||||
# However, the "weak" matching by func_id is only allowed _after_ modprobe
|
||||
# returns, so that "strong" matches have a higher priority.
|
||||
ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", RUN+="/bin/sh -c 'echo 1 > /sys/$devpath/allow_func_id_match'"
|
||||
|
||||
# PCMCIA sockets:
|
||||
#
|
||||
# modprobe the pcmcia bus module so that 16-bit PCMCIA devices work
|
||||
ACTION=="add", SUBSYSTEM=="pcmcia_socket", RUN+="/lib/udev/load-modules.sh pcmcia"
|
||||
|
||||
# if this is a PCMCIA socket which needs a resource database,
|
||||
# pcmcia-socket-startup sets it up
|
||||
ACTION=="add", SUBSYSTEM=="pcmcia_socket", RUN+="/sbin/pcmcia-socket-startup"
|
||||
#####################################
|
||||
##### PCMCIA rules - end
|
||||
#####################################
|
||||
|
||||
#####################################
|
||||
# Permissions and Symlinks - begin
|
||||
#####################################
|
||||
# default permissions for all block devices
|
||||
SUBSYSTEM=="block", GROUP="disk"
|
||||
|
||||
# permissions for IDE CD devices
|
||||
SUBSYSTEMS=="ide", KERNEL=="hd[a-z]", ATTR{removable}=="1", ATTRS{media}=="cdrom*", GROUP="optical"
|
||||
|
||||
# permissions for SCSI CD devices
|
||||
SUBSYSTEMS=="scsi", KERNEL=="sr[0-9]*", ATTRS{type}=="5", SYMLINK+="scd%n", GROUP="optical"
|
||||
SUBSYSTEMS=="scsi", KERNEL=="sg[0-9]*", ATTRS{type}=="5", GROUP="optical"
|
||||
|
||||
# permissions for IDE floppy devices
|
||||
SUBSYSTEMS=="ide", KERNEL=="hd*", ATTRS{media}=="floppy*", NAME{all_partitions}="%k", GROUP="floppy"
|
||||
|
||||
# permissions for removable devices like cardreaders or sticks
|
||||
KERNEL=="sd*", ATTRS{scsi_level}=="0", ATTRS{type}=="0", GROUP="storage"
|
||||
|
||||
# permissions for firewire external drives
|
||||
KERNEL=="sd*", ATTRS{scsi_level}=="5", GROUP="storage"
|
||||
|
||||
# permissions for usb to scsi external adapters
|
||||
KERNEL=="sd*", ATTRS{scsi_level}=="3", ATTRS{type}=="7", GROUP="storage"
|
||||
|
||||
# permissions for ide storage like pcmcia card readers
|
||||
ACTION!="add", GOTO="pcmcia_end"
|
||||
SUBSYSTEM!="block", GOTO="pcmcia_end"
|
||||
KERNEL=="hd*[!0-9]", IMPORT{program}="/lib/udev/ata_id --export $tempnode"
|
||||
KERNEL=="hd*", IMPORT{parent}=="ID_*"
|
||||
KERNEL=="hd*", ENV{ID_TYPE}=="generic", GROUP="storage"
|
||||
LABEL="pcmcia_end"
|
||||
|
||||
# permissions for SCSI scanners
|
||||
SUBSYSTEMS=="scsi", KERNEL=="sg[0-9]*", ATTRS{type}=="6", GROUP="scanner"
|
||||
|
||||
# pty and tty legacy devices
|
||||
KERNEL=="pty[a-z][a-z,0-9]*", NAME="legacy/%k", OPTIONS="last_rule
|
||||
KERNEL=="tty[a-z][a-z,0-9]*", NAME="legacy/%k", OPTIONS="last_rule
|
||||
|
||||
# md block devices
|
||||
KERNEL=="md[0-9]*", NAME="md%n", SYMLINK+="md/%n"
|
||||
|
||||
# device-mapper
|
||||
KERNEL=="device-mapper", NAME="mapper/control"
|
||||
|
||||
# floppy devices
|
||||
KERNEL=="fd[0-9]*", NAME="fd%n", SYMLINK+="floppy/%n fd%nu1440 fd%nu720 fd%nh1200 fd%nu360", GROUP="floppy"
|
||||
|
||||
# tty devices
|
||||
SUBSYSTEM=="tty", GROUP="tty"
|
||||
KERNEL=="tty[0-9]*", NAME="vc/%n", SYMLINK+="%k"
|
||||
KERNEL=="ttyS[0-9]*", NAME="tts/%n", SYMLINK+="ttyS%n"
|
||||
KERNEL=="ttyUSB[0-9]*", NAME="tts/USB%n"
|
||||
|
||||
# vc devices
|
||||
KERNEL=="vcs", NAME="vcc/0", OPTIONS="last_rule"
|
||||
KERNEL=="vcs[0-9]*", NAME="vcc/%n", OPTIONS="last_rule"
|
||||
KERNEL=="vcsa", NAME="vcc/a0", OPTIONS="last_rule"
|
||||
KERNEL=="vcsa[0-9]*", NAME="vcc/a%n", OPTIONS="last_rule"
|
||||
KERNEL=="ptmx", MODE="0666", OPTIONS="last_rule
|
||||
KERNEL=="tty", MODE="0666", OPTIONS="last_rule
|
||||
|
||||
# video devices
|
||||
SUBSYSTEM=="video4linux", GROUP="video"
|
||||
KERNEL=="dvb*", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; A=$${K%%%%.*}; D=$${K#*.}; echo dvb/adapter$$A/$$D'", \
|
||||
NAME="%c", GROUP="video"
|
||||
### xorg resets those permissions, adjust your xorg.conf!
|
||||
KERNEL=="nvidia*", GROUP="video"
|
||||
KERNEL=="card[0-9]*", NAME="dri/%k", GROUP="video"
|
||||
KERNEL=="3dfx*", GROUP="video"
|
||||
|
||||
# v4l devices
|
||||
KERNEL=="video[0-9]*", NAME="v4l/video%n", SYMLINK+="%k", GROUP="video"
|
||||
KERNEL=="video0", SYMLINK+="video"
|
||||
KERNEL=="radio[0-9]*", NAME="v4l/radio%n", SYMLINK+="radio%n", GROUP="video"
|
||||
KERNEL=="radio0", SYMLINK+="radio"
|
||||
KERNEL=="vbi[0-9]*", NAME="v4l/vbi%n", SYMLINK+="%k", GROUP="video"
|
||||
KERNEL=="vbi0", SYMLINK+="vbi"
|
||||
KERNEL=="vtx[0-9]*", NAME="v4l/vtx%n", SYMLINK+="%k", GROUP="video"
|
||||
KERNEL=="vtx0", SYMLINK+="vtx"
|
||||
|
||||
# i2c devices
|
||||
KERNEL=="i2c-[0-9]*", NAME="i2c/%n", SYMLINK+="%k"
|
||||
|
||||
# loop devices
|
||||
KERNEL=="loop[0-9]*", NAME="loop/%n", SYMLINK+="%k"
|
||||
|
||||
# ramdisks
|
||||
KERNEL=="ram[0-9]*", NAME="rd/%n", SYMLINK+="%k"
|
||||
|
||||
# framebuffer devices
|
||||
KERNEL=="fb[0-9]*", NAME="fb/%n", SYMLINK+="%k", GROUP="video"
|
||||
|
||||
# misc
|
||||
KERNEL=="rtc*", NAME="misc/%k", SYMLINK+="%k", GROUP="audio", MODE="0664"
|
||||
KERNEL=="rtc0", SYMLINK+="rtc"
|
||||
KERNEL=="nvram", NAME="misc/%k", SYMLINK+="%k"
|
||||
KERNEL=="psaux", NAME="misc/%k", SYMLINK+="%k"
|
||||
KERNEL=="agpgart", NAME="misc/%k", SYMLINK+="%k" GROUP="video"
|
||||
KERNEL=="uinput", NAME="misc/%k", SYMLINK+="%k"
|
||||
KERNEL=="random", MODE="0666"
|
||||
KERNEL=="urandom", MODE="0666"
|
||||
KERNEL=="mem", MODE="0640", GROUP="kmem"
|
||||
KERNEL=="kmem", MODE="0640", GROUP="kmem"
|
||||
KERNEL=="port", MODE="0640", GROUP="kmem"
|
||||
KERNEL=="full", MODE="0666"
|
||||
KERNEL=="null", MODE="0666"
|
||||
KERNEL=="zero", MODE="0666"
|
||||
KERNEL=="sgi_fetchop", MODE="0666"
|
||||
KERNEL=="sonypi", MODE="0666"
|
||||
KERNEL=="inotify", NAME="misc/%k", SYMLINK+="%k", MODE="0666"
|
||||
KERNEL=="cpu[0-9]*", NAME="cpu/%n/cpuid", SYMLINK="%k"
|
||||
KERNEL=="msr[0-9]*", NAME="cpu/%n/msr", SYMLINK="%k"
|
||||
|
||||
# sound devices
|
||||
# alsa devices
|
||||
SUBSYSTEM=="sound", GROUP="audio"
|
||||
KERNEL=="controlC[0-9]*", NAME="snd/%k"
|
||||
KERNEL=="hw[CD0-9]*", NAME="snd/%k"
|
||||
KERNEL=="pcm[CD0-9cp]*", NAME="snd/%k"
|
||||
KERNEL=="midi[CD0-9]*", NAME="snd/%k"
|
||||
KERNEL=="timer", NAME="snd/%k"
|
||||
KERNEL=="seq", NAME="snd/%k"
|
||||
# oss devices
|
||||
KERNEL=="audio*", NAME="sound/%k", SYMLINK+="%k"
|
||||
KERNEL=="dmmidi*", NAME="sound/%k", SYMLINK+="%k"
|
||||
KERNEL=="admmidi*", NAME="sound/%k", SYMLINK+="%k"
|
||||
KERNEL=="dsp*", NAME="sound/%k", SYMLINK+="%k"
|
||||
KERNEL=="adsp*", NAME="sound/%k", SYMLINK+="%k"
|
||||
KERNEL=="midi*", NAME="sound/%k", SYMLINK+="%k"
|
||||
KERNEL=="amidi*", NAME="sound/%k", SYMLINK+="%k"
|
||||
KERNEL=="mixer*", NAME="sound/%k", SYMLINK+="%k"
|
||||
KERNEL=="sequencer*", NAME="sound/%k", SYMLINK+="%k"
|
||||
|
||||
# input devices
|
||||
KERNEL=="mice", NAME="input/%k", MODE="0644"
|
||||
KERNEL=="mouse*", NAME="input/%k", MODE="0644"
|
||||
KERNEL=="event*", NAME="input/%k"
|
||||
KERNEL=="js*", NAME="input/%k", MODE="0664"
|
||||
KERNEL=="ts*", NAME="input/%k"
|
||||
KERNEL=="uinput", NAME="input/%k"
|
||||
|
||||
# USB devices
|
||||
KERNEL=="hiddev*", NAME="usb/%k"
|
||||
KERNEL=="auer*", NAME="usb/%k"
|
||||
KERNEL=="legousbtower*", NAME="usb/%k", MODE="0666"
|
||||
KERNEL=="dabusb*", NAME="usb/%k"
|
||||
SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k", GROUP="lp"
|
||||
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{product}=="Palm Handheld*", SYMLINK+="pilot"
|
||||
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{product}=="palmOne Handheld*", SYMLINK+="pilot"
|
||||
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{product}=="Handspring Visor*", SYMLINK+="pilot"
|
||||
|
||||
# printer devices
|
||||
SUBSYSTEM=="printer", GROUP="lp"
|
||||
|
||||
# netlink devices
|
||||
KERNEL=="route", NAME="netlink/%k"
|
||||
KERNEL=="skip", NAME="netlink/%k"
|
||||
KERNEL=="usersock", NAME="netlink/%k"
|
||||
KERNEL=="fwmonitor", NAME="netlink/%k"
|
||||
KERNEL=="tcpdiag", NAME="netlink/%k"
|
||||
KERNEL=="nflog", NAME="netlink/%k"
|
||||
KERNEL=="xfrm", NAME="netlink/%k"
|
||||
KERNEL=="arpd", NAME="netlink/%k"
|
||||
KERNEL=="route6", NAME="netlink/%k"
|
||||
KERNEL=="ip6_fw", NAME="netlink/%k"
|
||||
KERNEL=="dnrtmsg", NAME="netlink/%k"
|
||||
### ! breaks device creation !
|
||||
#KERNEL=="tap*", NAME="netlink/%k"
|
||||
|
||||
# CAPI devices
|
||||
KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20"
|
||||
KERNEL=="capi*", NAME="capi/%n"
|
||||
|
||||
# Network devices
|
||||
KERNEL=="tun", NAME="net/%k"
|
||||
|
||||
# IEEE1394 (firewire) devices
|
||||
KERNEL=="raw1394", NAME="%k", GROUP="video"
|
||||
KERNEL=="dv1394*", NAME="dv1394/%n", GROUP="video"
|
||||
KERNEL=="video1394*", NAME="video1394/%n", GROUP="video"
|
||||
|
||||
# raw devices
|
||||
KERNEL=="raw[0-9]*", NAME="raw/%k"
|
||||
|
||||
# kbd devices
|
||||
KERNEL=="kbd", MODE="0664"
|
||||
|
||||
# packet devices
|
||||
KERNEL=="pktcdvd", NAME="pktcdvd/control", GROUP="optical", MODE="0660"
|
||||
KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/pktcdvd%n", GROUP="optical", MODE="0660"
|
||||
|
||||
# usbfs-like device nodes, libusb device access
|
||||
SUBSYSTEM=="usb_device", ACTION=="add", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev};printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0664"
|
||||
|
||||
#######################################
|
||||
# Permissions and Symlinks - end
|
||||
#######################################
|
||||
|
||||
#######################################
|
||||
# Persistant block device stuff - begin
|
||||
#######################################
|
||||
# persistent storage links: /dev/{disk,tape}/{by-id,by-uuid,by-label,by-path,by-name}
|
||||
# scheme based on "Linux persistent device names", 2004, Hannes Reinecke <hare@suse.de>
|
||||
|
||||
# needed like this!!!
|
||||
ACTION!="add|change", GOTO="persistent_storage_end"
|
||||
|
||||
KERNEL=="nst[0-9]", SUBSYSTEMS=="scsi", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/scsi_id --export --whitelisted --fallback-to-sysfs -s %p -d $tempnode"
|
||||
KERNEL=="nst[0-9]", SUBSYSTEMS=="scsi", ENV{ID_SERIAL}=="?*", SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}-nst"
|
||||
|
||||
# type 8 devices are "Medium Changers"
|
||||
KERNEL=="sg*", SUBSYSTEMS=="scsi", ATTRS{type}=="8", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/scsi_id --export --whitelisted --fallback-to-sysfs -s %p -d $tempnode"
|
||||
KERNEL=="sg*", SUBSYSTEMS=="scsi", ATTRS{type}=="8", ENV{ID_SERIAL}=="?*", SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
|
||||
|
||||
SUBSYSTEM!="block", GOTO="persistent_storage_end"
|
||||
|
||||
# skip rules for inappropriate block devices
|
||||
# don't add dm-*!!!
|
||||
KERNEL=="ram*|loop*|fd*|nbd*|gnbd*|md*", GOTO="persistent_storage_end"
|
||||
|
||||
# never access non-cdrom removable ide devices, the drivers are causing event loops on open()
|
||||
KERNEL=="hd*[!0-9]", ATTR{removable}=="1", DRIVERS=="ide-cs|ide-floppy", GOTO="persistent_storage_end"
|
||||
KERNEL=="hd*[0-9]", ATTRS{removable}=="1", GOTO="persistent_storage_end"
|
||||
|
||||
# ignore partitions that span the entire disk
|
||||
ATTR{whole_disk}=="", GOTO="persistent_storage_end"
|
||||
|
||||
# for partitions import parent information
|
||||
KERNEL=="*[0-9]", IMPORT{parent}="ID_*"
|
||||
|
||||
# by-id (hardware serial number)
|
||||
KERNEL=="hd*[!0-9]", IMPORT{program}="/lib/udev/ata_id --export $tempnode"
|
||||
KERNEL=="hd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}"
|
||||
KERNEL=="hd*[0-9]", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}-part%n"
|
||||
|
||||
KERNEL=="sd*[!0-9]|sr*|st*", ATTRS{ieee1394_id}=="?*", ENV{ID_SERIAL}="$attr{ieee1394_id}", ENV{ID_SUBSYSTEMS}="ieee1394"
|
||||
KERNEL=="sd*[!0-9]|sr*|st*", ENV{ID_SERIAL}=="", SUBSYSTEMS=="usb", IMPORT{program}="/lib/udev/usb_id --export"
|
||||
KERNEL=="sd*[!0-9]|sr*|st*", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/scsi_id --export --whitelisted --fallback-to-sysfs -s %p -d $tempnode"
|
||||
KERNEL=="cciss?c[0-9]d[0-9]", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/scsi_id --export --whitelisted --ignore-sysfs -s %p -d $tempnode", ENV{ID_BUS}="cciss"
|
||||
KERNEL=="sd*[!0-9]|sr*|cciss?c[0-9]d[0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
|
||||
KERNEL=="sd*[0-9]|cciss*p[0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n"
|
||||
|
||||
# libata compat (links like hd*)
|
||||
KERNEL=="sd*[!0-9]|sr*", ENV{ID_VENDOR}=="ATA", PROGRAM="/lib/udev/ata_id $tempnode", ENV{ID_ATA_COMPAT}="$result"
|
||||
KERNEL=="sd*[!0-9]|sr*", ENV{ID_ATA_COMPAT}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_ATA_COMPAT}"
|
||||
KERNEL=="sd*[0-9]", ENV{ID_ATA_COMPAT}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_ATA_COMPAT}-part%n"
|
||||
|
||||
KERNEL=="mmcblk[0-9]", ATTR{name}=="?*", ATTR{serial}=="?*", ENV{ID_NAME}="$attr{name}", ENV{ID_SERIAL}="$attr{serial}", SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}"
|
||||
KERNEL=="mmcblk[0-9]p[0-9]", ATTR{name}=="?*", ATTR{serial}=="?*", ENV{ID_NAME}="$attr{name}", ENV{ID_SERIAL}="$attr{serial}", SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}-part%n"
|
||||
|
||||
# by-path (shortest physical path)
|
||||
KERNEL=="*[!0-9]|sr*|cciss?c[0-9]d[0-9]", IMPORT{program}="path_id %p", SYMLINK+="disk/by-path/$env{ID_PATH}"
|
||||
KERNEL=="*[0-9]|cciss*p[0-9]", ENV{ID_PATH}=="?*", SYMLINK+="disk/by-path/$env{ID_PATH}-part%n"
|
||||
KERNEL=="st*", IMPORT{program}="/lib/udev/path_id %p", SYMLINK+="tape/by-path/$env{ID_PATH}"
|
||||
KERNEL=="sr*|st*", GOTO="persistent_storage_end"
|
||||
|
||||
# by-label/by-uuid (filesystem properties)
|
||||
KERNEL=="*[!0-9]", ATTR{removable}=="1", GOTO="persistent_storage_end"
|
||||
IMPORT{program}="/lib/udev/vol_id --export $tempnode"
|
||||
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
|
||||
ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"
|
||||
|
||||
# BIOS Enhanced Disk Device
|
||||
KERNEL=="*[!0-9]", IMPORT{program}="/lib/udev/edd_id --export $tempnode"
|
||||
KERNEL=="*[!0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}"
|
||||
KERNEL=="*[0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}-part%n"
|
||||
|
||||
LABEL="persistent_storage_end"
|
||||
|
||||
# md links hook into "change" events, when the array becomes available
|
||||
KERNEL!="md[0-9]*", GOTO="md_end"
|
||||
ACTION!="add|change", GOTO="md_end"
|
||||
|
||||
ATTR{md/array_state}=="|clear|inactive", GOTO="md_end"
|
||||
IMPORT{program}="/lib/udev/vol_id --export $tempnode"
|
||||
OPTIONS="link_priority=100"
|
||||
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
|
||||
ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"
|
||||
LABEL="md_end"
|
||||
# Persistant block device stuff - end
|
||||
#####################################
|
||||
# Persistant block device stuff - end
|
||||
#####################################
|
|
@ -1,86 +0,0 @@
|
|||
## Example yaboot.conf for ybin and yaboot >= 0.6
|
||||
## see man yaboot.conf for more details.
|
||||
|
||||
## Change `unconfigured' to your bootstrap partition eg: /dev/hda2
|
||||
boot=unconfigured
|
||||
|
||||
## device is the OpenFirmware device path to the disk containing
|
||||
## kernel images. if your disk is /dev/hda you can find the
|
||||
## OpenFirmware path by running the command: ofpath /dev/hda DO NOT
|
||||
## specify a partition number for this! On IBM hardware you can
|
||||
## generally comment this out.
|
||||
|
||||
device=hd:
|
||||
|
||||
## partition is the partition number where the kernel images are
|
||||
## located. The kernel images should be on your root filesystem, so
|
||||
## this is usually the same partition number as your root filesystem.
|
||||
## so if root = /dev/hda3 (the 3rd partition) then you should have
|
||||
## partition=3 This *MUST* be set correct or yaboot won't boot! This
|
||||
## option can be either set globally as shown here, or per image in
|
||||
## the image= sections
|
||||
|
||||
partition=3
|
||||
|
||||
## delay is the amount of time in seconds the dual boot menu (if one
|
||||
## is configured, by the presense of macos, macosx, etc options here)
|
||||
## will wait before choosing the default OS (GNU/Linux or the value of
|
||||
## defaultos=). If you omit this then the value of timeout=
|
||||
## (converted to seconds) will be used.
|
||||
|
||||
delay=10
|
||||
|
||||
## timeout is the amount of time in tenths of a second that yaboot
|
||||
## will wait before booting the default kernel image (the first image=
|
||||
## section in this config file or the value of default=).
|
||||
|
||||
timeout=40
|
||||
install=/usr/lib/yaboot/yaboot
|
||||
magicboot=/usr/lib/yaboot/ofboot
|
||||
|
||||
## Change the default colors, fgcolor is the text color, bgcolor is
|
||||
## the screen background color. (default: fgcolor=white, bgcolor=black)
|
||||
#fgcolor=black
|
||||
#bgcolor=green
|
||||
|
||||
## Password supplied in plaintext, required for yaboot to boot, unless
|
||||
## restricted is also present (see below). Be sure to
|
||||
## chmod 600 /etc/yaboot.conf if you set this!
|
||||
|
||||
#password=secret
|
||||
|
||||
## Password supplied as an md5 hash, see above
|
||||
|
||||
#password=$1$saltstrg$HnJ/gcM3oKhNbnzUPgXTD/
|
||||
|
||||
## A password is only required to boot an image specified here if
|
||||
## parameters are specified on the command line or if the user enters
|
||||
## an image is not specified in the configuration file at all (ie.
|
||||
## arbitrary file load). restricted can also be placed in an image
|
||||
## section in that case any image not including the restricted keyword
|
||||
## will be fully password protected.
|
||||
|
||||
#restricted
|
||||
|
||||
## image is the kernel itself, commonly kept in / but also commonly
|
||||
## found in /boot. Note that /boot should generally not be its own
|
||||
## partition on powerpcs, its not necessary and complicates things.
|
||||
## Make sure /boot is on the partition specified by partition= see
|
||||
## above. /boot should never be an HFS filesystem. You may point
|
||||
## image= to a symbolic link so long as the symlink does not cross
|
||||
## partition boundries.
|
||||
|
||||
image=/boot/vmlinux26
|
||||
label=Linux
|
||||
root=/dev/hda3
|
||||
initrd=/boot/kernel26.img
|
||||
append="video=ofonly"
|
||||
read-only
|
||||
|
||||
image=/boot/vmlinux26
|
||||
label=arch-fallback
|
||||
root=/dev/sda3
|
||||
initrd=/boot/kernel26-fallback.img
|
||||
read-only
|
||||
|
||||
|
|
@ -50,8 +50,5 @@ run_hook ()
|
|||
echo "Place external addon packages in /packages directory."
|
||||
echo "Place external configs in /config directory."
|
||||
echo "------------------"
|
||||
echo "Message is displayed 10 seconds ..."
|
||||
echo ""
|
||||
sleep 10
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -11,4 +11,6 @@ run_hook ()
|
|||
ln -s /usr/bin/netcat /usr/bin/nc
|
||||
# fix depmod link
|
||||
ln -s /sbin/depmod /bin/depmod
|
||||
# fix permission on /var/lock
|
||||
chmod 1777 /var/lock
|
||||
}
|
||||
|
|
|
@ -11,4 +11,6 @@ run_hook ()
|
|||
ln -s /usr/bin/netcat /usr/bin/nc
|
||||
# fix depmod link
|
||||
ln -s /sbin/depmod /bin/depmod
|
||||
# fix permission on /var/lock
|
||||
chmod 1777 /var/lock
|
||||
}
|
||||
|
|
|
@ -27,7 +27,5 @@ run_hook ()
|
|||
echo "/lib/firmware/LICENSE.ipw2100-fw"
|
||||
echo "By appending intel-wireless to boot prompt you accept those licenses!"
|
||||
echo "--------------------"
|
||||
echo "Message is displayed 15 seconds ..."
|
||||
sleep 15
|
||||
fi
|
||||
}
|
||||
|
|
10
hooks/arch_tiacx_wireless
Normal file
10
hooks/arch_tiacx_wireless
Normal file
|
@ -0,0 +1,10 @@
|
|||
run_hook ()
|
||||
{
|
||||
echo "ARCH_TIACX_WIRELESS USAGE:"
|
||||
echo "--------------------"
|
||||
echo " The firmware files for ACX100/111 devices are installed in"
|
||||
echo " /usr/share/tiacx. Please identify the correct file(s) for your"
|
||||
echo " device and copy them to /lib/firmware."
|
||||
echo " See http://acx100.sourceforge.net/wiki/Firmware for details."
|
||||
echo "--------------------"
|
||||
}
|
|
@ -14,7 +14,7 @@ FILES=""
|
|||
#
|
||||
# Please change the other hooks only if you know what you are doing.
|
||||
# hooks for lowmem image
|
||||
HOOKS="arch_lowmem_install arch_acpi arch_bootmessage_lowmem arch_motd_lowmem arch_memtest arch_pam arch_shadow_lowmem arch_base_lowmem arch_hwdetect arch_udev ide pata scsi sata usb usbinput arch_raid arch_lvm2 arch_encrypt arch_filesystems_lowmem arch_pacman_lowmem arch_licenses"
|
||||
HOOKS="arch_lowmem_install arch_acpi arch_bootmessage_lowmem arch_motd_lowmem arch_memtest arch_pam arch_shadow_lowmem arch_base_lowmem arch_hwdetect arch_udev ide pata scsi sata usb usbinput arch_raid arch_lvm2 arch_encrypt arch_filesystems_lowmem arch_pacman_lowmem arch_licenses arch_dmraid"
|
||||
#
|
||||
# adding pxelinux hook if mkpxelinux is used.
|
||||
if [ "${RUNPROGRAM}" = "mkpxelinux" ]; then
|
||||
|
|
|
@ -13,7 +13,7 @@ FILES=""
|
|||
# default is set to ftp install media
|
||||
#
|
||||
# Please change the other hooks only if you know what you are doing.
|
||||
HOOKS="arch_ftp_install arch_acpi arch_bootmessage arch_motd arch_memtest arch_pam arch_shadow arch_base arch_hwdetect arch_udev ide pata scsi sata arch_net arch_isdn arch_pcmcia arch_rtc arch_sound usb usbinput fw arch_floppy arch_raid arch_lvm2 arch_encrypt arch_filesystems arch_keymap arch_remote arch_cpufreq arch_fb arch_links arch_naim arch_pacman arch_addons arch_kexec arch_ppp arch_pppoe arch_lilo arch_grub arch_iptables arch_capi4k arch_pciutils arch_usbutils arch_openvpn arch_vpnc arch_pptpclient arch_licenses arch_wireless arch_intel_wireless"
|
||||
HOOKS="arch_ftp_install arch_acpi arch_bootmessage arch_motd arch_memtest arch_pam arch_shadow arch_base arch_hwdetect arch_udev ide pata scsi sata arch_net arch_isdn arch_pcmcia arch_rtc arch_sound usb usbinput fw arch_floppy arch_raid arch_lvm2 arch_encrypt arch_filesystems arch_keymap arch_remote arch_cpufreq arch_fb arch_links arch_naim arch_pacman arch_addons arch_kexec arch_ppp arch_pppoe arch_lilo arch_grub arch_iptables arch_capi4k arch_pciutils arch_usbutils arch_openvpn arch_vpnc arch_pptpclient arch_licenses arch_wireless arch_intel_wireless arch_dmraid arch_linux_atm arch_tiacx_wireless arch_netcfg"
|
||||
#
|
||||
# adding pxelinux hook if mkpxelinux is used.
|
||||
if [ "${RUNPROGRAM}" = "mkpxelinux" ]; then
|
||||
|
|
|
@ -6,7 +6,7 @@ install ()
|
|||
|
||||
BINARIES=""
|
||||
FILES=""
|
||||
SCRIPT="arch_acpi"
|
||||
SCRIPT=""
|
||||
}
|
||||
|
||||
help ()
|
||||
|
|
|
@ -6,6 +6,11 @@ install ()
|
|||
BINARIES=""
|
||||
FILES=""
|
||||
SCRIPT="arch_addons"
|
||||
echo "- ARCH_ADDONS USAGE:" >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " In order to load external addon packages or configs" >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " into install environment, please append arch-addons to boot prompt." >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " Place external addon packages in /packages directory." >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " Place external configs in /config directory." >> ${OPTIONSBOOTMESSAGE}
|
||||
}
|
||||
|
||||
help ()
|
||||
|
|
|
@ -7,7 +7,12 @@ install ()
|
|||
add_dir "/sys"
|
||||
add_dir "/dev"
|
||||
add_dir "/mnt"
|
||||
add_dir "/media"
|
||||
add_dir "/media/cdrom"
|
||||
add_dir "/media/dvd"
|
||||
add_dir "/media/floppy"
|
||||
add_dir "/tmp"
|
||||
add_dir "/tmp/install"
|
||||
add_dir "/var/run"
|
||||
add_dir "/var/log"
|
||||
add_dir "/addons"
|
||||
|
@ -38,7 +43,7 @@ install ()
|
|||
add_file "/sbin/halt"
|
||||
add_file "/sbin/telinit"
|
||||
add_file "/bin/awk"
|
||||
add_file "/etc/archboot/etc/init" "/init"
|
||||
add_file "/etc/archboot/base/init" "/init"
|
||||
add_file "/usr/bin/vi"
|
||||
add_file "/bin/dir"
|
||||
add_file "/usr/share/terminfo/l/linux"
|
||||
|
@ -58,11 +63,11 @@ install ()
|
|||
add_file "/usr/share/vim/syntax/fstab.vim"
|
||||
add_file "/usr/share/vim/filetype.vim"
|
||||
add_file "/etc/rc.d/functions"
|
||||
add_file "/etc/archboot/etc/rc.conf" "/etc/rc.conf"
|
||||
add_file "/etc/archboot/base/etc/rc.conf" "/etc/rc.conf"
|
||||
add_file "/etc/rc.d/syslog-ng"
|
||||
|
||||
### adding config files of installation system
|
||||
for i in $(find /etc/archboot/etc/ -maxdepth 1 ! -type d ! -name 'init' ! -name "udev.rules" ! -name "menu.lst" ! -name "isolinux.cfg" ! -name "append-message*"); do
|
||||
for i in $(find /etc/archboot/base/etc/*); do
|
||||
add_file "$i" "/etc/$(basename $i)"
|
||||
done
|
||||
|
||||
|
|
|
@ -7,7 +7,12 @@ install ()
|
|||
add_dir "/sys"
|
||||
add_dir "/dev"
|
||||
add_dir "/mnt"
|
||||
add_dir "/media"
|
||||
add_dir "/media/cdrom"
|
||||
add_dir "/media/dvd"
|
||||
add_dir "/media/floppy"
|
||||
add_dir "/tmp"
|
||||
add_dir "/tmp/install"
|
||||
add_dir "/var/run"
|
||||
add_dir "/var/log"
|
||||
add_dir "/addons"
|
||||
|
@ -38,15 +43,15 @@ install ()
|
|||
add_file "/sbin/halt"
|
||||
add_file "/sbin/telinit"
|
||||
add_file "/bin/awk"
|
||||
add_file "/etc/archboot/etc/init" "/init"
|
||||
add_file "/etc/archboot/base/init" "/init"
|
||||
add_file "/bin/dir"
|
||||
add_file "/usr/share/terminfo/l/linux"
|
||||
add_file "/etc/rc.d/functions"
|
||||
add_file "/etc/archboot/etc/rc.conf" "/etc/rc.conf"
|
||||
add_file "/etc/archboot/base/etc/rc.conf" "/etc/rc.conf"
|
||||
add_file "/etc/rc.d/syslog-ng"
|
||||
|
||||
### adding config files of installation system
|
||||
for i in $(find /etc/archboot/etc/ -maxdepth 1 ! -type d ! -name 'init' ! -name "udev.rules" ! -name "menu.lst" ! -name "isolinux.cfg" ! -name "append-message*"); do
|
||||
for i in $(find /etc/archboot/base/etc/*); do
|
||||
add_file "$i" "/etc/$(basename $i)"
|
||||
done
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ install ()
|
|||
echo "Arch Linux" >> ${BOOTMESSAGE}
|
||||
echo "http://www.archlinux.org" >> ${BOOTMESSAGE}
|
||||
echo "Copyright 2002 - 2007 Judd Vinet <jvinet@zeroflux.org>" >> ${BOOTMESSAGE}
|
||||
echo "Copyright 2007 - 2008 Aaron Griffin <aaron@archlinux.org.org>" >> ${BOOTMESSAGE}
|
||||
echo "Distributed under the GNU General Public License (GPL)" >> ${BOOTMESSAGE}
|
||||
echo "" >> ${BOOTMESSAGE}
|
||||
echo "${TITLEMSG} BOOT" >> ${BOOTMESSAGE}
|
||||
|
@ -29,6 +30,7 @@ install ()
|
|||
[ -s "${APPENDBOOTMESSAGE}" ] && cat ${APPENDBOOTMESSAGE} >> ${BOOTMESSAGE}
|
||||
else
|
||||
[ -s "${APPENDBOOTMESSAGE_SYSLINUX}" ] && cat ${APPENDBOOTMESSAGE_SYSLINUX} >> ${BOOTMESSAGE}
|
||||
[ -s "${APPENDOPTIONSBOOTMESSAGE}" ] && cat ${APPENDOPTIONSBOOTMESSAGE} >> ${OPTIONSBOOTMESSAGE}
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ install ()
|
|||
echo "Arch Linux" >> ${BOOTMESSAGE}
|
||||
echo "http://www.archlinux.org" >> ${BOOTMESSAGE}
|
||||
echo "Copyright 2002 - 2007 Judd Vinet <jvinet@zeroflux.org>" >> ${BOOTMESSAGE}
|
||||
echo "Copyright 2007 - 2008 Aaron Griffin <aaron@archlinux.org.org>" >> ${BOOTMESSAGE}
|
||||
echo "Distributed under the GNU General Public License (GPL)" >> ${BOOTMESSAGE}
|
||||
echo "" >> ${BOOTMESSAGE}
|
||||
echo "${TITLEMSG} BOOT" >> ${BOOTMESSAGE}
|
||||
|
@ -29,6 +30,7 @@ install ()
|
|||
[ -s "${APPENDBOOTMESSAGE}" ] && cat ${APPENDBOOTMESSAGE} >> ${BOOTMESSAGE}
|
||||
else
|
||||
[ -s "${APPENDBOOTMESSAGE_SYSLINUX_LOWMEM}" ] && cat ${APPENDBOOTMESSAGE_SYSLINUX_LOWMEM} >> ${BOOTMESSAGE}
|
||||
[ -s "${APPENDOPTIONSBOOTMESSAGE}" ] && cat ${APPENDOPTIONSBOOTMESSAGE} >> ${OPTIONSBOOTMESSAGE}
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ install ()
|
|||
add_file "$i"
|
||||
done
|
||||
add_file "/etc/rc.d/capiinit"
|
||||
add_file "/etc/archboot/etc/capi4k/capi.conf" "/etc/capi.conf"
|
||||
add_file "/etc/archboot/capi4k/etc/capi.conf" "/etc/capi.conf"
|
||||
}
|
||||
|
||||
help ()
|
||||
|
|
|
@ -77,8 +77,8 @@ install ()
|
|||
for COPY in ${SEARCHCVS};do
|
||||
if ! [ "$(echo ${COPY} | awk -F/ '{print $3}')" = "" ]; then
|
||||
source "${COPY}/PKGBUILD"
|
||||
cp /var/cache/pacman/pkg/${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz ${TEMPDIR}/core/pkg/
|
||||
echo "$(echo ${COPY}| awk -F/ '{print $2}')/${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz" >> ${TEMPDIR}/core/pkg/packages.txt
|
||||
cp /var/cache/pacman/pkg/${pkgname}-${pkgver}-${pkgrel}-$(uname -m).pkg.tar.gz ${TEMPDIR}/core/pkg/
|
||||
echo "$(echo ${COPY}| awk -F/ '{print $2}')/${pkgname}-${pkgver}-${pkgrel}-$(uname -m).pkg.tar.gz" >> ${TEMPDIR}/core/pkg/packages.txt
|
||||
fi
|
||||
done
|
||||
# generate packages.txt
|
||||
|
@ -130,10 +130,10 @@ install ()
|
|||
if ! [ "${LOCALSETUP}" = "yes" ]; then
|
||||
if ! [ "${TEMPDIR}" = "" ]; then
|
||||
cp ${GIT_INSTALLER_TREE}/installer/arch-install-guide.txt ${TEMPDIR}/arch/archdoc.txt
|
||||
cd ${TEMPDIR}/arch/pkg/setup/
|
||||
#cd ${TEMPDIR}/arch/pkg/setup/
|
||||
#wget ${FTPSERVER}/$(uname -m)/setup/pacman.pkg.tar.gz
|
||||
cd ${TEMPDIR}/core/pkg/
|
||||
wget ${FTPSERVER}/$(uname -m)/core.db.tar.gz
|
||||
snarf ${FTPSERVER}/$(uname -m)/core.db.tar.gz
|
||||
fi
|
||||
else
|
||||
if ! [ "${TEMPDIR}" = "" ]; then
|
||||
|
|
|
@ -7,7 +7,7 @@ install ()
|
|||
BINARIES="cpufreq-info cpufreq-set"
|
||||
FILES=""
|
||||
SCRIPT=""
|
||||
add_file "/etc/archboot/etc/conf.d/cpufreq_conf.d" "/etc/conf.d/cpufreq"
|
||||
add_file "/etc/archboot/cpufreq/etc/conf.d/cpufreq" "/etc/conf.d/cpufreq"
|
||||
add_file "/etc/rc.d/cpufreq"
|
||||
}
|
||||
|
||||
|
|
18
install/arch_dmraid
Normal file
18
install/arch_dmraid
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
install ()
|
||||
{
|
||||
MODULES=""
|
||||
BINARIES="dmraid"
|
||||
FILES=""
|
||||
SCRIPT=""
|
||||
add_dir "/var/lock/dmraid"
|
||||
|
||||
}
|
||||
|
||||
help ()
|
||||
{
|
||||
cat<<HELPEOF
|
||||
This hook includes dmraid on an arch boot image.
|
||||
HELPEOF
|
||||
}
|
|
@ -6,7 +6,7 @@ install ()
|
|||
BINARIES="grub grub-install grub-md5-crypt grub-set-default grub-terminfo install-grub"
|
||||
FILES=""
|
||||
SCRIPT=""
|
||||
add_file "/etc/archboot/etc/grub/menu.lst" "/boot/grub/menu.lst"
|
||||
add_file "/etc/archboot/grub/boot/grub/menu.lst" "/boot/grub/menu.lst"
|
||||
for i in $(find /usr/lib/grub ! -type d); do
|
||||
add_file "$i"
|
||||
done
|
||||
|
|
|
@ -24,6 +24,15 @@ install ()
|
|||
add_file "/usr/share/licenses/iwlwifi-4965-ucode/LICENSE"
|
||||
add_file "/lib/firmware/iwlwifi-4965-1.ucode" "/intel-firmware/iwlwifi-4965-1.ucode"
|
||||
add_file "/lib/firmware/iwlwifi-4965.ucode" "/intel-firmware/iwlwifi-4965.ucode"
|
||||
echo "- ARCH_INTEL_WIRELESS USAGE:" >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " In order to use those drivers you have to agree to intel's licenses" >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " and append intel-wireless to boot prompt." >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " License files for the drivers are located here:" >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " /usr/share/licenses/iwlwifi-4965-ucode/LICENSE" >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " /usr/share/licenses/iwlwifi-3945-ucode/LICENSE" >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " /lib/firmware/LICENSE.ipw2200-fw" >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " /lib/firmware/LICENSE.ipw2100-fw" >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " By appending intel-wireless to boot prompt you accept those licenses!" >> ${OPTIONSBOOTMESSAGE}
|
||||
}
|
||||
|
||||
help ()
|
||||
|
|
|
@ -8,9 +8,9 @@ install ()
|
|||
SCRIPT=""
|
||||
add_file "/etc/rc.d/iptables"
|
||||
add_file "/etc/rc.d/ip6tables"
|
||||
add_file "/etc/archboot/etc/conf.d/iptables_conf.d" "/etc/conf.d/iptables"
|
||||
add_file "/etc/archboot/etc/iptables/empty.rules" "/etc/iptables/empty.rules"
|
||||
add_file "/etc/archboot/etc/iptables/simple_firewall.rules" "/etc/iptables/simple_firewall.rules"
|
||||
add_file "/etc/archboot/iptables/etc/conf.d/iptables" "/etc/conf.d/iptables"
|
||||
add_file "/etc/archboot/iptables/etc/iptables/empty.rules" "/etc/iptables/empty.rules"
|
||||
add_file "/etc/archboot/iptables/etc/iptables/simple_firewall.rules" "/etc/iptables/simple_firewall.rules"
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -7,12 +7,12 @@ install ()
|
|||
BINARIES="hisaxctrl icnctrl imon imontty ipppd ipppstats isdnctrl isdnlog mkzonedb pcbitctl isdnconf isdnrate isdnrep"
|
||||
FILES=""
|
||||
SCRIPT=""
|
||||
add_file "/etc/archboot/etc/isdn/callerid.conf" "/etc/isdn/callerid.conf"
|
||||
add_file "/etc/archboot/etc/isdn/isdn.conf" "/etc/isdn/isdn.conf"
|
||||
add_file "/etc/archboot/etc/isdn/isdnlog.isdnctrl0.options" "/etc/isdn/isdnlog.isdnctrl0.options"
|
||||
add_file "/etc/archboot/etc/isdn/isdnlog.users" "/etc/isdn/isdnlog.users"
|
||||
add_file "/etc/archboot/etc/isdn/rate.conf" "/etc/isdn/rate.conf"
|
||||
add_file "/etc/archboot/etc/isdn/stop" "/etc/isdn/stop"
|
||||
add_file "/etc/archboot/isdn/etc/isdn/callerid.conf" "/etc/isdn/callerid.conf"
|
||||
add_file "/etc/archboot/isdn/etc/isdn/isdn.conf" "/etc/isdn/isdn.conf"
|
||||
add_file "/etc/archboot/isdn/etc/isdn/isdnlog.isdnctrl0.options" "/etc/isdn/isdnlog.isdnctrl0.options"
|
||||
add_file "/etc/archboot/isdn/etc/isdn/isdnlog.users" "/etc/isdn/isdnlog.users"
|
||||
add_file "/etc/archboot/isdn/etc/isdn/rate.conf" "/etc/isdn/rate.conf"
|
||||
add_file "/etc/archboot/isdn/etc/isdn/stop" "/etc/isdn/stop"
|
||||
}
|
||||
|
||||
help ()
|
||||
|
|
|
@ -7,7 +7,7 @@ install ()
|
|||
FILES=""
|
||||
SCRIPT=""
|
||||
add_file "/etc/rc.d/kexec"
|
||||
add_file "/etc/archboot/etc/conf.d/kexec_conf.d" "/etc/conf.d/kexec"
|
||||
add_file "/etc/archboot/kexec/etc/conf.d/kexec" "/etc/conf.d/kexec"
|
||||
}
|
||||
|
||||
help ()
|
||||
|
|
|
@ -6,7 +6,7 @@ install ()
|
|||
BINARIES="lilo"
|
||||
FILES=""
|
||||
SCRIPT=""
|
||||
add_file "/etc/archboot/etc/lilo/lilo.conf" "/etc/lilo.conf"
|
||||
add_file "/etc/archboot/lilo/etc/lilo.conf" "/etc/lilo.conf"
|
||||
}
|
||||
|
||||
help ()
|
||||
|
|
18
install/arch_linux_atm
Normal file
18
install/arch_linux_atm
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
install ()
|
||||
{
|
||||
MODULES=""
|
||||
BINARIES="aread atmdiag atmdump awrite saaldump sonetdiag ttcp_atm atmaddr atmarp atmarpd atmloop atmsigd atmtcp bus enitune esi ilmid lecs les mpcd zeppelin zntune"
|
||||
FILES=""
|
||||
SCRIPT=""
|
||||
add_dir "/etc/ppp/peers/plugins"
|
||||
add_file "/etc/archboot/linux_atm/etc/atmsigd.conf" "/etc/atmsigd.conf"
|
||||
}
|
||||
|
||||
help ()
|
||||
{
|
||||
cat<<HELPEOF
|
||||
This hook includes linux-atm on an arch boot image.
|
||||
HELPEOF
|
||||
}
|
|
@ -6,7 +6,7 @@ install ()
|
|||
BINARIES="naim"
|
||||
FILES=""
|
||||
SCRIPT="arch_naim"
|
||||
add_file "/etc/archboot/etc/naim/nircrc" "/root/.nircrc"
|
||||
add_file "/etc/archboot/naim/root/nircrc" "/root/.nircrc"
|
||||
}
|
||||
|
||||
help ()
|
||||
|
|
|
@ -11,9 +11,9 @@ install ()
|
|||
add_file "/sbin/ifenslave"
|
||||
add_file "/usr/sbin/brctl"
|
||||
add_file "/etc/rc.d/network"
|
||||
add_file "/etc/archboot/etc/conf.d/dhcpcd_conf.d" "/etc/conf.d/dhcpcd"
|
||||
add_file "/etc/archboot/etc/conf.d/bonding_conf.d" "/etc/conf.d/bonding"
|
||||
add_file "/etc/archboot/etc/conf.d/bridges_conf.d" "/etc/conf.d/bridges"
|
||||
add_file "/etc/archboot/net/etc/conf.d/dhcpcd" "/etc/conf.d/dhcpcd"
|
||||
add_file "/etc/archboot/net/etc/conf.d/bonding" "/etc/conf.d/bonding"
|
||||
add_file "/etc/archboot/net/etc/conf.d/bridges" "/etc/conf.d/bridges"
|
||||
}
|
||||
|
||||
help ()
|
||||
|
|
30
install/arch_netcfg
Normal file
30
install/arch_netcfg
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
install ()
|
||||
{
|
||||
MODULES=""
|
||||
BINARIES=""
|
||||
FILES=""
|
||||
SCRIPT=""
|
||||
for i in /usr/lib/network/*; do
|
||||
add_file $i
|
||||
done
|
||||
add_dir "/var/run/network/interfaces"
|
||||
add_dir "/var/run/network/profiles"
|
||||
add_file "/usr/bin/netcfg-auto-wireless"
|
||||
add_file "/usr/bin/netcfg-menu"
|
||||
add_files "usr/bin/netcfg2"
|
||||
for i in /etc/network.d/examples/*; do
|
||||
add_file $i
|
||||
done
|
||||
add_file "/etc/rc.d/net-profiles"
|
||||
add_file "/etc/rc.d/net-rename"
|
||||
add_file "/etc/archboot/netcfg/etc/iftab" "/etc/iftab"
|
||||
}
|
||||
|
||||
help ()
|
||||
{
|
||||
cat<<HELPEOF
|
||||
This hook includes the netcfg on an arch boot image.
|
||||
HELPEOF
|
||||
}
|
|
@ -8,7 +8,7 @@ install ()
|
|||
SCRIPT=""
|
||||
CONFIG_FILES="README client.conf firewall.sh home.up loopback-client loopback-server office.up openvpn-shutdown.sh openvpn-startup.sh server.conf static-home.conf static-office.conf tls-home.conf tls-office.conf xinetd-client-config xinetd-server-config"
|
||||
for i in $CONFIG_FILES; do
|
||||
add_file "/etc/archboot/etc/openvpn/examples/$i" "/etc/openvpn/examples/$i"
|
||||
add_file "/etc/archboot/openvpn/etc/openvpn/examples/$i" "/etc/openvpn/examples/$i"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
@ -13,12 +13,13 @@ ncurses net-tools gnu-netcat ntfsprogs pcmciautils procps psmisc reiserfsprogs s
|
|||
syslog-ng sysvinit tar util-linux-ng which wireless_tools xfsprogs dnsutils hdparm memtest86+ \
|
||||
grub netkit-telnet openssh hwdetect portmap shadow bridge-utils ifenslave cpufrequtils links tcp_wrappers \
|
||||
dosfstools udev initscripts filesystem kernel26 glibc kernel-headers xinetd naim links pacman screen kbd pam \
|
||||
dhcpcd bzip2 gcc-libs mktemp openssl zlib libelf gpm sysfsutils libgcrypt libgpg-error popt kexec-tools ppp libpcap \
|
||||
dhcpcd bzip2 gcc-libs openssl zlib libelf gpm sysfsutils libgcrypt libgpg-error popt kexec-tools ppp libpcap \
|
||||
rp-pppoe lilo grub iptables capi4k-utils ntfs-3g isdn4k-utils pciutils usbutils vpnc openvpn bcm43xx-fwcutter \
|
||||
wpa_supplicant gzip rsync libarchive libdownload device-mapper cracklib nfs-utils nfsidmap readline acl attr \
|
||||
pcre cpio archboot fuse klibc libusb vi lzo2 libsasl libldap libevent gpm sdparm pptpclient licenses \
|
||||
madwifi madwifi-utils rt2x00-rt61-fw rt2x00-rt71w-fw rt2x00-cvs ndiswrapper ndiswrapper-utils \
|
||||
zd1211-firmware wlan-ng26-utils wlan-ng26 ipw2100-fw ipw2200-fw iwlwifi iwlwifi-3945-ucode iwlwifi-4965-ucode smbclient"
|
||||
madwifi madwifi-utils rt2x00-rt61-fw rt2x00-rt71w-fw ndiswrapper ndiswrapper-utils \
|
||||
zd1211-firmware wlan-ng26-utils wlan-ng26 ipw2100-fw ipw2200-fw iwlwifi-3945-ucode iwlwifi-4965-ucode smbclient \
|
||||
tiacx tiacx-firmware dmraid linux-atm netcfg tiacx tiacx-firmware"
|
||||
|
||||
for i in $DEPENDS; do
|
||||
for k in $(echo /var/lib/pacman/local/$i-[0-9]*-[0-9]*); do
|
||||
|
@ -28,12 +29,8 @@ for i in $DEPENDS; do
|
|||
done
|
||||
done
|
||||
add_dir "/var/log"
|
||||
add_file "/etc/archboot/etc/pacman/pacman.conf.pacman" "/etc/pacman.conf"
|
||||
add_file "/etc/archboot/etc/pacman/core.pacman" "/etc/pacman.d/core"
|
||||
add_file "/etc/archboot/etc/pacman/extra.pacman" "/etc/pacman.d/extra"
|
||||
add_file "/etc/archboot/etc/pacman/unstable.pacman" "/etc/pacman.d/unstable"
|
||||
add_file "/etc/archboot/etc/pacman/release.pacman" "/etc/pacman.d/release"
|
||||
add_file "/etc/archboot/etc/pacman/community.pacman" "/etc/pacman.d/community"
|
||||
add_file "/etc/archboot/pacman/etc/pacman.conf" "/etc/pacman.conf"
|
||||
add_file "/etc/archboot/pacman/etc/pacman.d/mirrorlist" "/etc/pacman.d/mirrorlist"
|
||||
}
|
||||
|
||||
help ()
|
||||
|
|
|
@ -12,8 +12,8 @@ e2fsprogs findutils gawk grep jfsutils less lvm2 mdadm module-init-tools nano \
|
|||
ncurses procps psmisc reiserfsprogs sed \
|
||||
syslog-ng sysvinit tar util-linux-ng which xfsprogs hdparm memtest86+ \
|
||||
grub hwdetect shadow dosfstools udev initscripts filesystem kernel26 glibc kernel-headers pacman pam \
|
||||
bzip2 gcc-libs mktemp openssl zlib libelf gpm sysfsutils libgcrypt libgpg-error popt libpcap lilo grub gzip libarchive \
|
||||
libdownload device-mapper cracklib readline acl attr archboot klibc libevent sdparm licenses"
|
||||
bzip2 gcc-libs openssl zlib libelf gpm sysfsutils libgcrypt libgpg-error popt libpcap lilo grub gzip libarchive \
|
||||
libdownload device-mapper cracklib readline acl attr archboot klibc libevent sdparm licenses dmraid"
|
||||
|
||||
for i in $DEPENDS; do
|
||||
for k in $(echo /var/lib/pacman/local/$i-[0-9]*-[0-9]*); do
|
||||
|
@ -23,12 +23,8 @@ for i in $DEPENDS; do
|
|||
done
|
||||
done
|
||||
add_dir "/var/log"
|
||||
add_file "/etc/archboot/etc/pacman/pacman.conf.pacman" "/etc/pacman.conf"
|
||||
add_file "/etc/archboot/etc/pacman/core.pacman" "/etc/pacman.d/core"
|
||||
add_file "/etc/archboot/etc/pacman/extra.pacman" "/etc/pacman.d/extra"
|
||||
add_file "/etc/archboot/etc/pacman/unstable.pacman" "/etc/pacman.d/unstable"
|
||||
add_file "/etc/archboot/etc/pacman/release.pacman" "/etc/pacman.d/release"
|
||||
add_file "/etc/archboot/etc/pacman/community.pacman" "/etc/pacman.d/community"
|
||||
add_file "/etc/archboot/pacman/etc/pacman.conf" "/etc/pacman.conf"
|
||||
add_file "/etc/archboot/pacman/etc/pacman.d/mirrorlist" "/etc/pacman.d/mirrorlist"
|
||||
}
|
||||
|
||||
help ()
|
||||
|
|
|
@ -6,10 +6,10 @@ install ()
|
|||
BINARIES="pam_tally unix_chkpwd"
|
||||
FILES=""
|
||||
SCRIPT=""
|
||||
for i in $(echo /etc/archboot/etc/pam/*/*); do
|
||||
add_file "$i" "$(echo $i | sed -e 's|/etc/archboot/etc/pam|/etc|g')"
|
||||
for i in $(echo /etc/archboot/pam/etc/*/*); do
|
||||
add_file "$i" "$(echo $i | sed -e 's|/etc/archboot/pam/etc|/etc|g')"
|
||||
done
|
||||
add_file "/etc/archboot/etc/pam/environment" "/etc/environment"
|
||||
add_file "/etc/archboot/pam/etc/environment" "/etc/environment"
|
||||
for i in $(echo /lib/libpam*); do
|
||||
add_file "$i"
|
||||
done
|
||||
|
|
|
@ -10,11 +10,11 @@ install ()
|
|||
add_file "$i"
|
||||
done
|
||||
add_dir "/etc/ppp/peers"
|
||||
add_file "/etc/archboot/etc/ppp/chap-secrets" "/etc/ppp/chap-secrets"
|
||||
add_file "/etc/archboot/etc/ppp/ip-down" "/etc/ppp/ip-down"
|
||||
add_file "/etc/archboot/etc/ppp/ip-up" "/etc/ppp/ip-up"
|
||||
add_file "/etc/archboot/etc/ppp/options" "/etc/ppp/options"
|
||||
add_file "/etc/archboot/etc/ppp/pap-secrets" "/etc/ppp/pap-secrets"
|
||||
add_file "/etc/archboot/ppp/etc/ppp/chap-secrets" "/etc/ppp/chap-secrets"
|
||||
add_file "/etc/archboot/ppp/etc/ppp/ip-down" "/etc/ppp/ip-down"
|
||||
add_file "/etc/archboot/ppp/etc/ppp/ip-up" "/etc/ppp/ip-up"
|
||||
add_file "/etc/archboot/ppp/etc/ppp/options" "/etc/ppp/options"
|
||||
add_file "/etc/archboot/ppp/etc/ppp/pap-secrets" "/etc/ppp/pap-secrets"
|
||||
add_file "/etc/rc.d/ppp"
|
||||
}
|
||||
|
||||
|
|
|
@ -7,10 +7,10 @@ install ()
|
|||
FILES=""
|
||||
SCRIPT=""
|
||||
add_dir "/etc/ppp/peers/plugins"
|
||||
add_file "/etc/archboot/etc/ppp/firewall-masq" "/etc/ppp/firewall-masq"
|
||||
add_file "/etc/archboot/etc/ppp/firewall-standalone" "/etc/ppp/firewall-standalone"
|
||||
add_file "/etc/archboot/etc/ppp/pppoe-server-options" "/etc/ppp/pppoe-server-options"
|
||||
add_file "/etc/archboot/etc/ppp/pppoe.conf" "/etc/ppp/pppoe.conf"
|
||||
add_file "/etc/archboot/pppoe/etc/ppp/firewall-masq" "/etc/ppp/firewall-masq"
|
||||
add_file "/etc/archboot/pppoe/etc/ppp/firewall-standalone" "/etc/ppp/firewall-standalone"
|
||||
add_file "/etc/archboot/pppoe/etc/ppp/pppoe-server-options" "/etc/ppp/pppoe-server-options"
|
||||
add_file "/etc/archboot/pppoe/etc/ppp/pppoe.conf" "/etc/ppp/pppoe.conf"
|
||||
add_file "/etc/rc.d/adsl"
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ install ()
|
|||
BINARIES="pptp"
|
||||
FILES=""
|
||||
SCRIPT=""
|
||||
add_file "/etc/archboot/etc/ppp/options.pptp" "/etc/ppp/options.pptp"
|
||||
add_file "/etc/archboot/pptpclient/etc/ppp/options.pptp" "/etc/ppp/options.pptp"
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -7,21 +7,22 @@ install ()
|
|||
BINARIES="$(basename $(find /usr/bin/screen-*)) telnet tcpd findssl.sh scp sftp ssh ssh-add ssh-agent ssh-copy-id ssh-keygen ssh-keyscan sshd pmap_set pmap_dump portmap xinetd in.telnetd rsync exportfs nfsstat rpc.idmapd rpc.mountd rpc.nfsd rpc.statd rpcdebug showmount sm-notify start-statd"
|
||||
FILES=""
|
||||
SCRIPT="arch_remote"
|
||||
add_file "/etc/archboot/etc/remote/hosts.allow" "/etc/hosts.allow"
|
||||
add_file "/etc/archboot/etc/remote/hosts.deny" "/etc/hosts.deny"
|
||||
add_file "/etc/archboot/etc/remote/screenrc" "/etc/screenrc"
|
||||
add_file "/etc/archboot/etc/remote/xinetd.conf" "/etc/xinetd.conf"
|
||||
add_file "/etc/archboot/etc/remote/servers_xinetd" "/etc/xinetd.d/servers"
|
||||
add_file "/etc/archboot/etc/remote/services_xinetd" "/etc/xinetd.d/services"
|
||||
add_file "/etc/archboot/etc/remote/telnet_xinetd" "/etc/xinetd.d/telnet"
|
||||
add_file "/etc/archboot/etc/remote/ssh_config_ssh" "/etc/ssh/ssh_config"
|
||||
add_file "/etc/archboot/etc/remote/sshd_config_ssh" "/etc/ssh/sshd_config"
|
||||
add_file "/etc/archboot/etc/remote/moduli_ssh" "/etc/ssh/moduli"
|
||||
add_file "/etc/archboot/etc/remote/sshd_pam" "/etc/pam.d/sshd"
|
||||
add_file "/etc/archboot/etc/remote/screen_pam" "/etc/pam.d/screen"
|
||||
add_file "/etc/archboot/etc/remote/rsyncd.conf" "/etc/rsyncd.conf"
|
||||
add_file "/etc/archboot/etc/remote/rsync_xinetd" "/etc/xinet.d/rsync"
|
||||
add_file "/etc/archboot/etc/remote/exports" "/etc/exports"
|
||||
add_file "/etc/archboot/remote/etc/hosts.allow" "/etc/hosts.allow"
|
||||
add_file "/etc/archboot/remote/etc/hosts.deny" "/etc/hosts.deny"
|
||||
add_file "/etc/archboot/remote/etc/screenrc" "/etc/screenrc"
|
||||
add_file "/etc/archboot/remote/etc/xinetd.conf" "/etc/xinetd.conf"
|
||||
add_file "/etc/archboot/remote/etc/xinetd.d/servers" "/etc/xinetd.d/servers"
|
||||
add_file "/etc/archboot/remote/etc/xinetd.d/services" "/etc/xinetd.d/services"
|
||||
add_file "/etc/archboot/remote/etc/xinetd.d/telnet" "/etc/xinetd.d/telnet"
|
||||
add_file "/etc/archboot/remote/etc/ssh/ssh_config" "/etc/ssh/ssh_config"
|
||||
add_file "/etc/archboot/remote/etc/ssh/sshd_config" "/etc/ssh/sshd_config"
|
||||
add_file "/etc/archboot/remote/etc/conf.d/sshd" "/etc/conf.d/sshd"
|
||||
add_file "/etc/archboot/remote/etc/ssh/moduli" "/etc/ssh/moduli"
|
||||
add_file "/etc/archboot/remote/etc/pam.d/sshd" "/etc/pam.d/sshd"
|
||||
add_file "/etc/archboot/remote/etc/pam.d/screen" "/etc/pam.d/screen"
|
||||
add_file "/etc/archboot/remote/etc/rsyncd.conf" "/etc/rsyncd.conf"
|
||||
add_file "/etc/archboot/remote/etc/xinetd.d/rsync" "/etc/xinetd.d/rsync"
|
||||
add_file "/etc/archboot/remote/etc/exports" "/etc/exports"
|
||||
for i in $(find /usr/share/terminfo/ ! -type d); do
|
||||
add_file "$i"
|
||||
done
|
||||
|
@ -34,7 +35,7 @@ install ()
|
|||
add_dir "/var/empty"
|
||||
add_file "/etc/rc.d/nfsd"
|
||||
add_file "/etc/rc.d/nfslock"
|
||||
add_file "/etc/archboot/etc/conf.d/nfs_conf.d" "/etc/conf.d/nfs"
|
||||
add_file "/etc/archboot/remote/etc/conf.d/nfs" "/etc/conf.d/nfs"
|
||||
add_dir "/var/lib/nfs/sm"
|
||||
add_dir "/var/lib/nfs/sm.bak"
|
||||
add_dir "/var/lib/nfs/v4recovery"
|
||||
|
|
|
@ -8,11 +8,11 @@ install ()
|
|||
SCRIPT=""
|
||||
add_file "/usr/bin/sg"
|
||||
add_file "/usr/sbin/vigr"
|
||||
for i in $(echo /etc/archboot/etc/shadow-config/*/*); do
|
||||
add_file "$i" "$(echo $i | sed -e 's|/etc/archboot/etc/shadow-config|/etc|g')"
|
||||
for i in $(echo /etc/archboot/shadow/etc/*/*); do
|
||||
add_file "$i" "$(echo $i | sed -e 's|/etc/archboot/shadow/etc|/etc|g')"
|
||||
done
|
||||
for i in $(echo /etc/archboot/etc/shadow-config/*.defs); do
|
||||
add_file "$i" "$(echo $i | sed -e 's|/etc/archboot/etc/shadow-config|/etc|g')"
|
||||
for i in $(echo /etc/archboot/shadow/etc/*.defs); do
|
||||
add_file "$i" "$(echo $i | sed -e 's|/etc/archboot/shadow/etc|/etc|g')"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
@ -6,11 +6,11 @@ install ()
|
|||
BINARIES="login"
|
||||
FILES=""
|
||||
SCRIPT=""
|
||||
for i in $(echo /etc/archboot/etc/shadow-config/*/*); do
|
||||
add_file "$i" "$(echo $i | sed -e 's|/etc/archboot/etc/shadow-config|/etc|g')"
|
||||
for i in $(echo /etc/archboot/shadow/etc/*/*); do
|
||||
add_file "$i" "$(echo $i | sed -e 's|/etc/archboot/shadow/etc|/etc|g')"
|
||||
done
|
||||
for i in $(echo /etc/archboot/etc/shadow-config/*.defs); do
|
||||
add_file "$i" "$(echo $i | sed -e 's|/etc/archboot/etc/shadow-config|/etc|g')"
|
||||
for i in $(echo /etc/archboot/shadow/etc/*.defs); do
|
||||
add_file "$i" "$(echo $i | sed -e 's|/etc/archboot/shadow/etc|/etc|g')"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
26
install/arch_tiacx_wireless
Normal file
26
install/arch_tiacx_wireless
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
install ()
|
||||
{
|
||||
MODULES=""
|
||||
|
||||
BINARIES=""
|
||||
FILES=""
|
||||
SCRIPT="arch_tiacx_wireless"
|
||||
# add firmware files
|
||||
for i in $(find /usr/share/tiacx/ ! -type d); do
|
||||
add_file $i
|
||||
done
|
||||
echo "- ARCH_TIACX_WIRELESS USAGE:" >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " The firmware files for ACX100/111 devices are installed in" >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " /usr/share/tiacx. Please identify the correct file(s) for your" >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " device and copy them to /lib/firmware." >> ${OPTIONSBOOTMESSAGE}
|
||||
echo " See http://acx100.sourceforge.net/wiki/Firmware for details." >> ${OPTIONSBOOTMESSAGE}
|
||||
}
|
||||
|
||||
help ()
|
||||
{
|
||||
cat<<HELPEOF
|
||||
This hook includes tiacx wireless on an arch boot image.
|
||||
HELPEOF
|
||||
}
|
|
@ -3,23 +3,29 @@
|
|||
install ()
|
||||
{
|
||||
MODULES=""
|
||||
BINARIES="udevd udevtrigger udevsettle dmsetup"
|
||||
FILES=" /etc/udev/udev.conf"
|
||||
BINARIES="udevd udevadm dmsetup"
|
||||
FILES="/etc/udev/udev.conf"
|
||||
SCRIPT="arch_udev"
|
||||
add_file /etc/archboot/etc/udev.rules /etc/udev/rules.d/udev.rules
|
||||
add_file /etc/archboot/etc/start_udev /etc/start_udev
|
||||
add_file /etc/modprobe.d/framebuffer_blacklist
|
||||
add_file /etc/archboot/udev/etc/start_udev /etc/start_udev
|
||||
add_file /lib/initcpio/udev/firmware.sh /lib/udev/firmware.sh
|
||||
add_file /lib/udev/cdrom_id /lib/udev/cdrom_id
|
||||
add_file /etc/archboot/etc/load-modules.sh /lib/udev/load-modules.sh
|
||||
add_file /lib/udev/cdsymlinks.sh /lib/udev/cdsymlinks.sh
|
||||
add_file /lib/udev/ata_id /lib/udev/ata_id
|
||||
add_file /lib/udev/edd_id /lib/udev/edd_id
|
||||
add_file /lib/udev/path_id /lib/udev/path_id
|
||||
add_file /lib/udev/scsi_id /lib/udev/scsi_id
|
||||
add_file /lib/udev/usb_id /lib/udev/usb_id
|
||||
add_file /lib/udev/vol_id /lib/udev/vol_id
|
||||
add_file /etc/archboot/udev/etc/load-modules.sh /lib/udev/load-modules.sh
|
||||
add_file /lib/udev/cdsymlinks.sh
|
||||
add_file /lib/udev/ata_id
|
||||
add_file /lib/udev/edd_id
|
||||
add_file /lib/udev/path_id
|
||||
add_file /lib/udev/scsi_id
|
||||
add_file /lib/udev/usb_id
|
||||
add_file /lib/udev/vol_id
|
||||
add_file /lib/libvolume_id.so.0
|
||||
add_file /etc/udev/rules.d/device-mapper.rules
|
||||
# add rule files
|
||||
for i in 05-udev-early 40-pilot-links 50-udev-default 51-arch 60-pcmcia 60-persistent-input \
|
||||
60-persistent-storage-tape 60-persistent-storage 61-persistent-storage-edd 64-device-mapper 64-md-raid \
|
||||
80-drivers 95-udev-late device-mapper; do
|
||||
add_file /etc/udev/rules.d/$i.rules
|
||||
done
|
||||
# add persistent network and cd symlink support
|
||||
# add_file /etc/udev/rules.d/75-cd-aliases-generator.rules
|
||||
# add_file /etc/udev/rules.d/75-persistent-net-generator.rules
|
||||
|
|
|
@ -7,8 +7,8 @@ install ()
|
|||
FILES=""
|
||||
SCRIPT=""
|
||||
add_file "/etc/rc.d/vpnc"
|
||||
add_file "/etc/archboot/etc/vpnc/default.conf" "/etc/vpnc/default.conf"
|
||||
add_file "/etc/archboot/etc/vpnc/vpnc-script" "/etc/vpnc/vpnc-script"
|
||||
add_file "/etc/archboot/vpnc/etc/vpnc/default.conf" "/etc/vpnc/default.conf"
|
||||
add_file "/etc/archboot/vpnc/etc/vpnc/vpnc-script" "/etc/vpnc/vpnc-script"
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -4,11 +4,12 @@ install ()
|
|||
{
|
||||
MODULES="$(checked_modules "/drivers/net/wirless/") $(checked_modules "/net/wirless/") $(checked_modules "/net/ieee80211/") $(checked_modules "/net/mac80211/")"
|
||||
|
||||
BINARIES="iwconfig iwevent iwgetid iwlist iwpriv iwspy bcm43xx-fwcutter wpa_cli wpa_passphrase wpa_supplicant 80211debug 80211stats athchans athctrl athdebug athkey athstats wlanconfig nwepgen prism2dl wlancfg wlanctl-ng loadndisdriver perl"
|
||||
BINARIES="iwconfig iwevent iwgetid iwlist iwpriv iwspy ifrename bcm43xx-fwcutter wpa_cli wpa_passphrase wpa_supplicant 80211debug 80211stats ath_info athchans athctrl athdebug athkey athstats madwifi-unload wlanconfig nwepgen prism2dl wlancfg wlanctl-ng loadndisdriver perl"
|
||||
FILES=""
|
||||
### remove with perl 5.10!
|
||||
SCRIPT="arch_wireless"
|
||||
add_file "/etc/archboot/etc/conf.d/wireless_conf.d" "/etc/conf.d/wireless"
|
||||
add_file "/etc/archboot/etc/wpa_supplicant.conf" "/etc/wpa_supplicant.conf"
|
||||
add_file "/etc/archboot/wireless/etc/conf.d/wireless" "/etc/conf.d/wireless"
|
||||
add_file "/etc/archboot/wireless/etc/wpa_supplicant.conf" "/etc/wpa_supplicant.conf"
|
||||
# add ralink firmware files
|
||||
add_file "/lib/firmware/rt2561.bin"
|
||||
add_file "/lib/firmware/rt2561s.bin"
|
||||
|
@ -20,7 +21,7 @@ install ()
|
|||
done
|
||||
# add wlan-ng26 support
|
||||
add_file "/etc/rc.d/wlan"
|
||||
for i in /etc/archboot/etc/wlan/*; do
|
||||
for i in /etc/archboot/wireless/etc/wlan/*; do
|
||||
add_file "/etc/wlan/$(basename $i)"
|
||||
done
|
||||
for i in /etc/wlan/*.hex; do
|
||||
|
@ -28,6 +29,35 @@ install ()
|
|||
done
|
||||
# add ndiswrapper support
|
||||
add_file "/usr/sbin/ndiswrapper"
|
||||
### new perl scheme! disabled until it moves in!
|
||||
# add_file "/usr/share/perl5/core_perl/File/Path.pm"
|
||||
# add_file "/usr/share/perl5/core_perl/File/Spec/Unix.pm"
|
||||
# add_file "/usr/share/perl5/core_perl/File/Spec.pm"
|
||||
# add_file "/usr/share/perl5/core_perl/File/Copy.pm"
|
||||
# add_file "/usr/share/perl5/core_perl/File/Basename.pm"
|
||||
# add_file "/usr/share/perl5/core_perl/Exporter/Heavy.pm"
|
||||
# add_file "/usr/share/perl5/core_perl/AutoLoader.pm"
|
||||
# add_file "/usr/share/perl5/core_perl/Carp.pm"
|
||||
# add_file "/usr/share/perl5/core_perl/Carp/Heavy.pm"
|
||||
# add_file "/usr/share/perl5/core_perl/warnings.pm"
|
||||
# add_file "/usr/share/perl5/core_perl/warnings/register.pm"
|
||||
# add_file "/usr/share/perl5/core_perl/vars.pm"
|
||||
# add_file "/usr/share/perl5/core_perl/Exporter.pm"
|
||||
# add_file "/usr/share/perl5/core_perl/strict.pm"
|
||||
# add_file "/usr/lib/perl5/core_perl/Cwd.pm"
|
||||
# add_file "/usr/lib/perl5/core_perl/auto/Cwd/Cwd.bs"
|
||||
# add_file "/usr/lib/perl5/core_perl/auto/Cwd/Cwd.so"
|
||||
# add_file "/usr/lib/perl5/core_perl/auto/Fcntl/Fcntl.bs"
|
||||
# add_file "/usr/lib/perl5/core_perl/auto/Fcntl/Fcntl.so"
|
||||
# add_file "/usr/lib/perl5/core_perl/auto/DynaLoader/dl_find_symbol_anywhere.al"
|
||||
# add_file "/usr/lib/perl5/core_perl/auto/DynaLoader/dl_expandspec.al"
|
||||
# add_file "/usr/lib/perl5/core_perl/auto/DynaLoader/autosplit.ix"
|
||||
# add_file "/usr/lib/perl5/core_perl/auto/DynaLoader/dl_findfile.al"
|
||||
# add_file "/usr/lib/perl5/core_perl/Config.pm"
|
||||
# add_file "/usr/lib/perl5/core_perl/DynaLoader.pm"
|
||||
# add_file "/usr/lib/perl5/core_perl/XSLoader.pm"
|
||||
# add_file "/usr/lib/perl5/core_perl/Fcntl.pm"
|
||||
### old scheme can be removed when perl moves in!
|
||||
add_file "/usr/lib/perl5/current/File/Path.pm"
|
||||
add_file "/usr/lib/perl5/current/File/Spec/Unix.pm"
|
||||
add_file "/usr/lib/perl5/current/File/Spec.pm"
|
||||
|
|
11
iptables/etc/iptables/simple_firewall.rules
Normal file
11
iptables/etc/iptables/simple_firewall.rules
Normal file
|
@ -0,0 +1,11 @@
|
|||
*filter
|
||||
:INPUT DROP [0:0]
|
||||
:FORWARD DROP [0:0]
|
||||
:OUTPUT ACCEPT [0:0]
|
||||
-A INPUT -p icmp -j ACCEPT
|
||||
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
|
||||
-A INPUT -i lo -j ACCEPT
|
||||
-A INPUT -p tcp -j REJECT --reject-with tcp-reset
|
||||
-A INPUT -p udp -j REJECT --reject-with icmp-port-unreachable
|
||||
-A INPUT -j REJECT --reject-with icmp-proto-unreachable
|
||||
COMMIT
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue