summaryrefslogtreecommitdiffstats
path: root/base/aaabasicfs
diff options
context:
space:
mode:
Diffstat (limited to 'base/aaabasicfs')
-rw-r--r--base/aaabasicfs/.footprint251
-rw-r--r--base/aaabasicfs/.md5sum25
-rw-r--r--base/aaabasicfs/Pkgfile191
-rw-r--r--base/aaabasicfs/X.sh30
-rw-r--r--base/aaabasicfs/bash_profile36
-rw-r--r--base/aaabasicfs/bashrc28
-rw-r--r--base/aaabasicfs/bashrc.etc65
-rw-r--r--base/aaabasicfs/blfs-bootscripts3
-rwxr-xr-xbase/aaabasicfs/cleanfs111
-rw-r--r--base/aaabasicfs/clock5
-rw-r--r--base/aaabasicfs/console7
-rw-r--r--base/aaabasicfs/dircolors.sh9
-rw-r--r--base/aaabasicfs/extra-prompt.sh2
-rw-r--r--base/aaabasicfs/extrapaths.sh21
-rw-r--r--base/aaabasicfs/fstab14
-rw-r--r--base/aaabasicfs/hosts6
-rw-r--r--base/aaabasicfs/i18n.sh2
-rw-r--r--base/aaabasicfs/inittab31
-rw-r--r--base/aaabasicfs/inputrc41
-rw-r--r--base/aaabasicfs/menu.lst28
-rw-r--r--base/aaabasicfs/network1
-rwxr-xr-xbase/aaabasicfs/nu136
-rw-r--r--base/aaabasicfs/profile72
-rw-r--r--base/aaabasicfs/readline.sh5
-rwxr-xr-xbase/aaabasicfs/sysklogd64
-rw-r--r--base/aaabasicfs/unmask.sh6
-rw-r--r--base/aaabasicfs/xorg.conf51
27 files changed, 1241 insertions, 0 deletions
diff --git a/base/aaabasicfs/.footprint b/base/aaabasicfs/.footprint
new file mode 100644
index 000000000..7289d4024
--- /dev/null
+++ b/base/aaabasicfs/.footprint
@@ -0,0 +1,251 @@
+drwxr-xr-x root/root bin/
+lrwxrwxrwx root/root bin/sh -> bash
+drwxr-xr-x root/root boot/
+drwxr-xr-x root/root boot/grub/
+-rw-r--r-- root/root boot/grub/menu.lst
+drwxr-xr-x root/root dev/
+crw------- root/root dev/console (5, 1)
+crw-rw-rw- root/root dev/null (1, 3)
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/X11/
+-rw-r--r-- root/root etc/X11/xorg.conf
+-rw-r--r-- root/root etc/bashrc
+-rw-r--r-- root/root etc/blfs-bootscripts
+drwxr-xr-x root/root etc/default/
+-rw-r--r-- root/root etc/default/useradd
+-rw-r--r-- root/root etc/fstab
+-rw-r--r-- root/root etc/group
+-rw-r--r-- root/root etc/hosts
+-rw-r--r-- root/root etc/inittab
+-rw-r--r-- root/root etc/inputrc
+-rw-r--r-- root/root etc/mtab (EMPTY)
+-rw-r--r-- root/root etc/nutyx-version
+drwxr-xr-x root/root etc/opt/
+-rw-r--r-- root/root etc/passwd
+-rw-r--r-- root/root etc/profile
+drwxr-xr-x root/root etc/profile.d/
+-rw-r--r-- root/root etc/profile.d/X.sh
+-rw-r--r-- root/root etc/profile.d/dircolors.sh
+-rw-r--r-- root/root etc/profile.d/extrapaths.sh
+-rw-r--r-- root/root etc/profile.d/i18n.sh
+-rw-r--r-- root/root etc/profile.d/readline.sh
+-rw-r--r-- root/root etc/profile.d/unmask.sh
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-- root/root etc/rc.d/init.d/checkfs
+-rwxr-xr-- root/root etc/rc.d/init.d/cleanfs
+-rwxr-xr-- root/root etc/rc.d/init.d/console
+-rwxr-xr-- root/root etc/rc.d/init.d/consolelog
+-rw-r--r-- root/root etc/rc.d/init.d/functions
+-rwxr-xr-- root/root etc/rc.d/init.d/halt
+-rwxr-xr-- root/root etc/rc.d/init.d/localnet
+-rwxr-xr-- root/root etc/rc.d/init.d/modules
+-rwxr-xr-- root/root etc/rc.d/init.d/mountfs
+-rwxr-xr-- root/root etc/rc.d/init.d/mountkernfs
+-rwxr-xr-- root/root etc/rc.d/init.d/network
+-rwxr-xr-- root/root etc/rc.d/init.d/rc
+-rwxr-xr-- root/root etc/rc.d/init.d/reboot
+-rwxr-xr-- root/root etc/rc.d/init.d/sendsignals
+-rwxr-xr-- root/root etc/rc.d/init.d/setclock
+-rwxr-xr-- root/root etc/rc.d/init.d/swap
+-rwxr-xr-- root/root etc/rc.d/init.d/sysctl
+-rwxr-xr-- root/root etc/rc.d/init.d/sysklogd
+-rwxr-xr-- root/root etc/rc.d/init.d/template
+-rwxr-xr-- root/root etc/rc.d/init.d/udev
+-rwxr-xr-- root/root etc/rc.d/init.d/udev_retry
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K80network -> ../init.d/network
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K90sysklogd -> ../init.d/sysklogd
+lrwxrwxrwx root/root etc/rc.d/rc0.d/S60sendsignals -> ../init.d/sendsignals
+lrwxrwxrwx root/root etc/rc.d/rc0.d/S70mountfs -> ../init.d/mountfs
+lrwxrwxrwx root/root etc/rc.d/rc0.d/S80swap -> ../init.d/swap
+lrwxrwxrwx root/root etc/rc.d/rc0.d/S90localnet -> ../init.d/localnet
+lrwxrwxrwx root/root etc/rc.d/rc0.d/S99halt -> ../init.d/halt
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K80network -> ../init.d/network
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K90sysklogd -> ../init.d/sysklogd
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K90sysklogd -> ../init.d/sysklogd
+lrwxrwxrwx root/root etc/rc.d/rc2.d/S20network -> ../init.d/network
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S10sysklogd -> ../init.d/sysklogd
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S20network -> ../init.d/network
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S10sysklogd -> ../init.d/sysklogd
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S20network -> ../init.d/network
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S10sysklogd -> ../init.d/sysklogd
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S20network -> ../init.d/network
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K80network -> ../init.d/network
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K90sysklogd -> ../init.d/sysklogd
+lrwxrwxrwx root/root etc/rc.d/rc6.d/S60sendsignals -> ../init.d/sendsignals
+lrwxrwxrwx root/root etc/rc.d/rc6.d/S70mountfs -> ../init.d/mountfs
+lrwxrwxrwx root/root etc/rc.d/rc6.d/S80swap -> ../init.d/swap
+lrwxrwxrwx root/root etc/rc.d/rc6.d/S90localnet -> ../init.d/localnet
+lrwxrwxrwx root/root etc/rc.d/rc6.d/S99reboot -> ../init.d/reboot
+drwxr-xr-x root/root etc/rc.d/rcsysinit.d/
+lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S00mountkernfs -> ../init.d/mountkernfs
+lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S02consolelog -> ../init.d/consolelog
+lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S05modules -> ../init.d/modules
+lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S10udev -> ../init.d/udev
+lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S20swap -> ../init.d/swap
+lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S30checkfs -> ../init.d/checkfs
+lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S40mountfs -> ../init.d/mountfs
+lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S45cleanfs -> ../init.d/cleanfs
+lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S50udev_retry -> ../init.d/udev_retry
+lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S70console -> ../init.d/console
+lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S80localnet -> ../init.d/localnet
+lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S90sysctl -> ../init.d/sysctl
+-rw-r--r-- root/root etc/shells
+drwxr-xr-x root/root etc/skel/
+-rw-r--r-- root/root etc/skel/.bash_profile
+-rw-r--r-- root/root etc/skel/.bashrc
+lrwxrwxrwx root/root etc/skel/.xinitrc -> /etc/slim.xinitrc
+drwxr-xr-x root/root etc/sysconfig/
+-rw-r--r-- root/root etc/sysconfig/clock
+-rw-r--r-- root/root etc/sysconfig/console
+-rw-r--r-- root/root etc/sysconfig/modules
+-rw-r--r-- root/root etc/sysconfig/network
+drwxr-xr-x root/root etc/sysconfig/network-devices/
+-rwxr-xr-- root/root etc/sysconfig/network-devices/ifdown
+-rwxr-xr-- root/root etc/sysconfig/network-devices/ifup
+drwxr-xr-x root/root etc/sysconfig/network-devices/services/
+-rwxr-xr-- root/root etc/sysconfig/network-devices/services/ipv4-static
+-rwxr-xr-- root/root etc/sysconfig/network-devices/services/ipv4-static-route
+-rw-r--r-- root/root etc/sysconfig/rc
+drwxr-xr-x root/root home/
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/firmware/
+drwxr-xr-x root/root lib/udev/
+drwxr-xr-x root/root lib/udev/devices/
+crw------- root/root lib/udev/devices/console (5, 1)
+crw-rw-rw- root/root lib/udev/devices/null (1, 3)
+drwxr-xr-x root/root lib/udev/devices/pts/
+drwxr-xr-x root/root lib/udev/devices/shm/
+crw-rw-rw- root/root lib/udev/devices/zero (1, 5)
+drwxr-xr-x root/root media/
+drwxr-xr-x root/root media/cdrom/
+drwxr-xr-x root/root media/dvd/
+drwxr-xr-x root/root media/floppy/
+drwxr-xr-x root/root media/key/
+drwxr-xr-x root/root mnt/
+drwxr-xr-x root/root opt/
+drwxr-xr-x root/root proc/
+drwxr-x--- root/root root/
+-rw-r--r-- root/root root/.bash_profile
+-rw-r--r-- root/root root/.bashrc
+lrwxrwxrwx root/root root/.xinitrc -> ../etc/skel/.xinitrc
+lrwxrwxrwx root/root root/X.sh -> ../etc/profile.d/X.sh
+lrwxrwxrwx root/root root/bashrc -> ../etc/bashrc
+drwxr-xr-x root/root root/bin/
+-rwxr-xr-x root/root root/bin/nu
+lrwxrwxrwx root/root root/clock -> ../etc/sysconfig/clock
+lrwxrwxrwx root/root root/console -> ../etc/sysconfig/console
+lrwxrwxrwx root/root root/dircolors.sh -> ../etc/profile.d/dircolors.sh
+lrwxrwxrwx root/root root/extrapaths.sh -> ../etc/profile.d/extrapaths.sh
+lrwxrwxrwx root/root root/fstab -> ../etc/fstab
+lrwxrwxrwx root/root root/hosts -> ../etc/hosts
+lrwxrwxrwx root/root root/hosts.allow -> ../etc/hosts.allow
+lrwxrwxrwx root/root root/hosts.deny -> ../etc/hosts.deny
+lrwxrwxrwx root/root root/i18n.sh -> ../etc/profile.d/i18n.sh
+lrwxrwxrwx root/root root/inittab -> ../etc/inittab
+lrwxrwxrwx root/root root/inputrc -> ../etc/inputrc
+lrwxrwxrwx root/root root/jdk.sh -> ../etc/profile.d/jdk.sh
+lrwxrwxrwx root/root root/menu.lst -> ../boot/grub/menu.lst
+lrwxrwxrwx root/root root/modprobe.conf -> ../etc/modprobe.conf
+lrwxrwxrwx root/root root/modules -> ../etc/sysconfig/modules
+lrwxrwxrwx root/root root/network -> ../etc/sysconfig/network
+lrwxrwxrwx root/root root/pkg-get.conf -> ../etc/pkg-get.conf
+lrwxrwxrwx root/root root/pkgadd.conf -> ../etc/pkgadd.conf
+lrwxrwxrwx root/root root/pkgmk.conf -> ../etc/pkgmk.conf
+lrwxrwxrwx root/root root/profile -> ../etc/profile
+lrwxrwxrwx root/root root/prt-get.conf -> ../etc/prt-get.conf
+lrwxrwxrwx root/root root/readline.sh -> ../etc/profile.d/readline.sh
+lrwxrwxrwx root/root root/resolv.conf -> ../etc/resolv.conf
+lrwxrwxrwx root/root root/shells -> ../etc/shells
+lrwxrwxrwx root/root root/unmask.sh -> ../etc/profile.d/unmask.sh
+lrwxrwxrwx root/root root/useradd -> ../etc/default/useradd
+lrwxrwxrwx root/root root/xorg.conf -> ../etc/X11/xorg.conf
+drwxr-xr-x root/root sbin/
+drwxr-xr-x root/root srv/
+drwxr-xr-x root/root srv/NuTyX/
+drwxr-xr-x root/root srv/NuTyX/locale/
+drwxrwxrwt root/root srv/sources/
+drwxr-xr-x root/root sys/
+drwxrwxrwt root/root tmp/
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/which
+lrwxrwxrwx root/root usr/doc -> share/doc
+drwxr-xr-x root/root usr/include/
+lrwxrwxrwx root/root usr/info -> share/info
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/local/
+drwxr-xr-x root/root usr/local/bin/
+lrwxrwxrwx root/root usr/local/doc -> share/doc
+drwxr-xr-x root/root usr/local/include/
+lrwxrwxrwx root/root usr/local/info -> share/info
+drwxr-xr-x root/root usr/local/lib/
+lrwxrwxrwx root/root usr/local/man -> share/man
+drwxr-xr-x root/root usr/local/sbin/
+drwxr-xr-x root/root usr/local/share/
+drwxr-xr-x root/root usr/local/share/doc/
+drwxr-xr-x root/root usr/local/share/info/
+drwxr-xr-x root/root usr/local/share/locale/
+drwxr-xr-x root/root usr/local/share/man/
+drwxr-xr-x root/root usr/local/share/man/man1/
+drwxr-xr-x root/root usr/local/share/man/man2/
+drwxr-xr-x root/root usr/local/share/man/man3/
+drwxr-xr-x root/root usr/local/share/man/man4/
+drwxr-xr-x root/root usr/local/share/man/man5/
+drwxr-xr-x root/root usr/local/share/man/man6/
+drwxr-xr-x root/root usr/local/share/man/man7/
+drwxr-xr-x root/root usr/local/share/man/man8/
+drwxr-xr-x root/root usr/local/share/misc/
+drwxr-xr-x root/root usr/local/share/terminfo/
+drwxr-xr-x root/root usr/local/share/zoneinfo/
+drwxr-xr-x root/root usr/local/src/
+lrwxrwxrwx root/root usr/man -> share/man
+drwxr-xr-x root/root usr/ports/
+drwxr-xr-x root/root usr/sbin/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/doc/
+drwxr-xr-x root/root usr/share/info/
+drwxr-xr-x root/root usr/share/locale/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+drwxr-xr-x root/root usr/share/man/man2/
+drwxr-xr-x root/root usr/share/man/man3/
+drwxr-xr-x root/root usr/share/man/man4/
+drwxr-xr-x root/root usr/share/man/man5/
+drwxr-xr-x root/root usr/share/man/man6/
+drwxr-xr-x root/root usr/share/man/man7/
+drwxr-xr-x root/root usr/share/man/man8/
+drwxr-xr-x root/root usr/share/misc/
+drwxr-xr-x root/root usr/share/terminfo/
+drwxr-xr-x root/root usr/share/zoneinfo/
+drwxr-xr-x root/root usr/src/
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/cache/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/locate/
+drwxr-xr-x root/root var/lib/misc/
+drwxr-xr-x root/root var/local/
+drwxr-xr-x root/root var/lock/
+drwxr-xr-x root/root var/log/
+-rw-r----- root/root var/log/auth.log (EMPTY)
+-rw------- root/root var/log/btmp (EMPTY)
+-rw-r----- root/root var/log/daemon.log (EMPTY)
+-rw-r----- root/root var/log/kern.log (EMPTY)
+-rw-rw-r-- root/utmp var/log/lastlog (EMPTY)
+-rw-r----- root/root var/log/mail.log (EMPTY)
+-rw-r----- root/root var/log/sys.log (EMPTY)
+-rw-r----- root/root var/log/user.log (EMPTY)
+-rw-r--r-- root/root var/log/wtmp (EMPTY)
+drwxr-xr-x root/root var/mail/
+drwxr-xr-x root/root var/opt/
+drwxr-xr-x root/root var/run/
+-rw-rw-r-- root/utmp var/run/utmp (EMPTY)
+drwxr-xr-x root/root var/spool/
+drwxrwxrwt root/root var/tmp/
diff --git a/base/aaabasicfs/.md5sum b/base/aaabasicfs/.md5sum
new file mode 100644
index 000000000..fbbb15a11
--- /dev/null
+++ b/base/aaabasicfs/.md5sum
@@ -0,0 +1,25 @@
+759d93e031a2f1ddb4a94268ebd4a73e X.sh
+61ba4859757a54bf1f514de5213802e0 bash_profile
+427f04bb0e7ba3394054a1215fdca87c bashrc
+427f04bb0e7ba3394054a1215fdca87c bashrc
+3974f1b4242908346f309b096a7a6ed6 bashrc.etc
+7e1cc42a760239d55d1985f574c53e13 blfs-bootscripts
+71ccfea56456d4085553eafaa9380424 cleanfs
+4c0a776082e36f89970a9d7e5b7ff04a clock
+94e5b6c4017e28684a683d39cbe4c72a console
+248d4faa838949085a51003b2c0c3f00 dircolors.sh
+ad457024fe7ad91b8e9e0b4aad87df1f extrapaths.sh
+93156932384c81b3b54ef0e47084c495 fstab
+57ddbea584220ac4e74d0504a03721f4 hosts
+7af11664c8a127c2d1e71ee3237ab543 i18n.sh
+255dba011debefe08813959042bb56b4 inittab
+2ca09cd10bcc4f6adb0c5b1521bfdb7e inputrc
+d2d497718127e161a28ef4a9429e29ed lfs-bootscripts-20090523.tar.bz2
+a78518513008df089590b10ae3a3cded menu.lst
+c90e6466720260c377c89f5aa0c47eca network
+06320e95778c0cc35bdb2cf4c0a17a37 nu
+210fdabd07248f79617508807715167b profile
+fa6ce99e0329c7854e0a83d022da6fe3 readline.sh
+f76fe3211cbc808c52f5de0fee37eaf7 sysklogd
+87a81331c2241707ab494584eb49a80b unmask.sh
+c81db8c9f687a6bdf8122550e2b99527 xorg.conf
diff --git a/base/aaabasicfs/Pkgfile b/base/aaabasicfs/Pkgfile
new file mode 100644
index 000000000..975dfbe71
--- /dev/null
+++ b/base/aaabasicfs/Pkgfile
@@ -0,0 +1,191 @@
+# Description: Système de base de NuTyX, contient les répertoires et scripts de demarrage.
+# URL: http://www.nutyx.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=aaabasicfs
+version=2009
+release=1
+scriptsversion=lfs-bootscripts-20090523
+source=( http://www.linuxfromscratch.org/lfs/downloads/development/$scriptsversion.tar.bz2\
+ hosts clock console fstab inittab menu.lst inputrc network xorg.conf \
+ profile dircolors.sh extrapaths.sh bash_profile bashrc bashrc.etc \
+ blfs-bootscripts nu readline.sh unmask.sh X.sh i18n.sh bashrc sysklogd cleanfs)
+
+
+build() {
+ # Creating Directories
+
+ mkdir -pv $PKG/{dev,proc,sys,bin,boot,etc/{profile.d,opt,skel,default},home,lib,mnt,opt,srv/{sources,NuTyX/locale}}
+ chmod 1777 $PKG/srv/sources
+ mkdir -pv $PKG/{media/{floppy,cdrom,key,dvd},sbin,var}
+ install -dv -m 0750 $PKG/root
+ install -dv -m 1777 $PKG/tmp
+ install -dv -m 1777 $PKG/var/tmp
+ mkdir -pv $PKG/usr/{,local/}{bin,include,lib,sbin,src}
+ mkdir -pv $PKG/usr/{,local/}share/{doc,info,locale,man}
+ mkdir -v $PKG/usr/{,local/}share/{misc,terminfo,zoneinfo}
+ mkdir -pv $PKG/usr/{,local/}share/man/man{1..8}
+ mkdir -p $PKG/usr/ports
+ install -dv $PKG/lib/{firmware,udev/devices/{pts,shm}}
+ mknod -m 600 $PKG/lib/udev/devices/console c 5 1
+ mknod -m 666 $PKG/lib/udev/devices/null c 1 3
+ mknod -m 666 $PKG/lib/udev/devices/zero c 1 5
+ mknod -m 666 $PKG/dev/null c 1 3
+ mknod -m 600 $PKG/dev/console c 5 1
+ for dir in $PKG/usr $PKG/usr/local; do
+ ln -sv share/{man,doc,info} $dir
+ done
+ mkdir -v $PKG/var/{lock,log,mail,run,spool}
+ mkdir -pv $PKG/var/{opt,cache,lib/{misc,locate},local}
+ touch $PKG/var/log/{kern.log,auth.log,mail.log,user.log,sys.log,daemon.log,wtmp,btmp}
+ chmod 640 $PKG/var/log/{kern.log,auth.log,mail.log,user.log,sys.log,daemon.log}
+ chmod 0600 $PKG/var/log/btmp
+ # Creating essential Files and Symlinks
+ touch $PKG/etc/mtab
+ ln -sv bash $PKG/bin/sh
+ echo "2009" > $PKG/etc/nutyx-version
+ cat > $PKG/etc/shells << "EOF"
+/bin/sh
+/bin/bash
+EOF
+ cat > $PKG/etc/passwd << "EOF"
+root:x:0:0:root:/root:/bin/bash
+messagebus:x:18:18:D-BUS Message Daemon User:/dev/null:/bin/false
+haldaemon:x:19:19:HAL Daemon User:/dev/null:/bin/false
+gdm:x:21:21:GDM Daemon User:/dev/null:/bin/bash
+fcron:x:22:22:Fcron User:/dev/null:/bin/false
+apache:x:25:25:Apache Server:/dev/null:/bin/false
+mysql:x:40:40:MySQL Server":/dev/null/:bin/false
+policykit:x:62:62:PolicyKit:/:/sbin/nologin
+clamav:x:98:98:Clam AntiVirus:/dev/null:/bin/false
+nobody:x:99:99:Unprivileged User:/dev/null:/bin/false
+EOF
+ cat > $PKG/etc/group << "EOF"
+root:x:0:
+bin:x:1:
+sys:x:2:
+kmem:x:3:
+tty:x:4:
+tape:x:5:
+daemon:x:6:
+floppy:x:7:
+disk:x:8:
+lp:x:9:
+uucp:x:10:
+audio:x:11:
+video:x:12:
+utmp:x:13:
+usb:x:14:
+cdrom:x:15:
+dialout:x:16:
+network:x:17:
+messagebus:x:18:
+haldaemon:x:19:
+named:x:20:
+gdm:x:21:
+fcron:x:22:
+apache:x:25:
+mail:x:34:
+mysql:x:40:
+rsyncd:x:48:
+halusers:x:61:
+policykit:x:62:
+fuse:x:65:
+scanner:x:70:
+vboxusers:x:80:
+clamav:x:98:
+nogroup:x:99:
+users:x:100:
+EOF
+ cat > $PKG/usr/bin/which << "EOF"
+#!/bin/bash
+type -pa "$@" | head -n 1 ; exit ${PIPESTATUS[0]}
+EOF
+ chmod -v 755 $PKG/usr/bin/which
+ chown 0:0 $PKG/usr/bin/which
+ cat > $PKG/etc/default/useradd << "EOF"
+# Begin /etc/default/useradd
+
+GROUP=100
+HOME=/home
+INACTIVE=-1
+EXPIRE=
+SHELL=/bin/bash
+SKEL=/etc/skel
+
+# End /etc/default/useradd
+EOF
+ touch $PKG/var/run/utmp $PKG/var/log/{btmp,lastlog,wtmp}
+ chgrp -v 13 $PKG/var/run/utmp $PKG/var/log/lastlog
+ chmod -v 664 $PKG/var/run/utmp $PKG/var/log/lastlog
+ # Bootscripts
+ cd $scriptsversion
+ make DESTDIR=$PKG install
+ # We want to start the network when init 2
+ mv $PKG/etc/rc.d/rc2.d/{K80,S20}network
+ cd ..
+ # Remove files which will be installed by xorg7
+ rm $PKG/etc/sysconfig/createfiles
+
+ # Configuration files
+ cp -v {hosts,fstab,inittab,profile,inputrc,bashrc.etc} $PKG/etc/
+ mv $PKG/etc/bashrc.etc $PKG/etc/bashrc
+ cp -v {dircolors.sh,extrapaths.sh,readline.sh,unmask.sh,X.sh,i18n.sh}\
+ $PKG/etc/profile.d/
+ cp -v {clock,console,network} $PKG/etc/sysconfig/
+ cp -v bash_profile $PKG/etc/skel/.bash_profile
+ cp -v bashrc $PKG/etc/skel/.bashrc
+ ln -s /etc/slim.xinitrc $PKG/etc/skel/.xinitrc
+ cp -v bash_profile $PKG/root/.bash_profile
+ cp -v bashrc $PKG/root/.bashrc
+ mkdir -p $PKG/root/bin
+ cp -v nu $PKG/root/bin
+ # Customise startup scripts
+ cp blfs-bootscripts $PKG/etc/
+ cp sysklogd $PKG/etc/rc.d/init.d/
+ cp cleanfs $PKG/etc/rc.d/init.d/
+
+ mkdir -v $PKG/boot/grub
+ cp -v menu.lst $PKG/boot/grub/
+ if [ `uname -m` == "x86_64" ]; then
+ sed -i "s|boot/kernel|boot/kernel_64|" \
+ $PKG/boot/grub/menu.lst
+ sed -i "s|nutyx-initrd|nutyx-initrd_64|" \
+ $PKG/boot/grub/menu.lst
+ fi
+ mkdir -v $PKG/etc/X11
+ cp -v xorg.conf $PKG/etc/X11/
+ cd $PKG/root/
+ ln -s ../etc/fstab
+ ln -s ../etc/hosts
+ ln -s ../boot/grub/menu.lst
+ ln -s ../etc/inittab
+ ln -s ../etc/profile
+ ln -s ../etc/inputrc
+ ln -s ../etc/bashrc
+ ln -s ../etc/hosts.allow
+ ln -s ../etc/hosts.deny
+ ln -s ../etc/resolv.conf
+ ln -s ../etc/modprobe.conf
+ ln -s ../etc/shells
+ ln -s ../etc/profile.d/dircolors.sh
+ ln -s ../etc/profile.d/extrapaths.sh
+ ln -s ../etc/profile.d/readline.sh
+ ln -s ../etc/profile.d/unmask.sh
+ ln -s ../etc/profile.d/X.sh
+ ln -s ../etc/profile.d/i18n.sh
+ ln -s ../etc/skel/.xinitrc
+ ln -s ../etc/profile.d/jdk.sh
+ ln -s ../etc/sysconfig/clock
+ ln -s ../etc/sysconfig/console
+ ln -s ../etc/sysconfig/network
+ ln -s ../etc/sysconfig/modules
+ ln -s ../etc/X11/xorg.conf
+ ln -s ../etc/default/useradd
+ ln -s ../etc/prt-get.conf
+ ln -s ../etc/pkg-get.conf
+ ln -s ../etc/pkgadd.conf
+ ln -s ../etc/pkgmk.conf
+}
diff --git a/base/aaabasicfs/X.sh b/base/aaabasicfs/X.sh
new file mode 100644
index 000000000..8ca37a71a
--- /dev/null
+++ b/base/aaabasicfs/X.sh
@@ -0,0 +1,30 @@
+export GNOME_PREFIX=/usr
+export GNOME_LIBCONFIG_PATH=/usr/lib:$GNOME_PREFIX/lib
+export LIBGLADE_MODULE_PATH=$GNOME_PREFIX/lib/libglade/2.0
+export QTDIR=/opt/qt
+export KDE3_PREFIX=/opt/kde3
+export KDE_PREFIX=/opt/kde
+export KDEDIR=$KDE_PREFIX
+export KDE3DIR=$KDE3_PREFIX
+export MANPATH=$MANPATH:$GNOME_PREFIX/man:$KDEDIR/man:$KDE3DIR/man
+export PATH=$PATH:$GNOME_PREFIX/bin:$KDE_PREFIX/bin:$KDE3_PREFIX/bin
+export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$GNOME_PREFIX/lib/pkgconfig:\
+$GNOME_PREFIX/share/pkgconfig:$KDE3_PREFIX/lib/pkgconfig:/opt/qt/lib/pkgconfig
+export INFOPATH=/usr/share/info:$GNOME_PREFIX/share/info:$KDE_PREFIX/share/info:$KDE3_PREFIX/share/info
+export PYTHONPATH=/usr/lib/python2.5/site-packages:\
+$GNOME_PREFIX/lib/python2.5/site-packages:\
+$GNOME_PREFIX/lib/python2.5/site-packages/GMenuSimpleEditor
+if [ -x /usr/X11R6/bin/X ]; then
+ pathappend /usr/X11R6/bin
+ XDG_DATA_DIRS=/usr/share:$GNOME_PREFIX/share:$KDE_PREFIX/share:$KDE3_PREFIX/share:/usr/local/share
+ XDG_CONFIG_DIRS=/etc/gnome/xdg:/etc/kde/xdg:/etc/kde3/xdg:/etc/xdg
+ export XDG_DATA_DIRS XDG_CONFIG_DIRS
+
+fi
+if [ -d /usr/X11R6/lib/pkgconfig ] ; then
+ pathappend /usr/X11R6/lib/pkgconfig PKG_CONFIG_PATH
+fi
+XORG_PREFIX="/usr"
+XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
+ --mandir=$XORG_PREFIX/share/man --localstatedir=/var"
+export XORG_PREFIX XORG_CONFIG
diff --git a/base/aaabasicfs/bash_profile b/base/aaabasicfs/bash_profile
new file mode 100644
index 000000000..f0a4a1419
--- /dev/null
+++ b/base/aaabasicfs/bash_profile
@@ -0,0 +1,36 @@
+# Begin ~/.bash_profile
+# Written for Beyond Linux From Scratch
+# by James Robertson <jameswrobertson@earthlink.net>
+# updated by Bruce Dubbs <bdubbs@linuxfromscratch.org>
+
+# Personal environment variables and startup programs.
+
+# Personal aliases and functions should go in ~/.bashrc. System wide
+# environment variables and startup programs are in /etc/profile.
+# System wide aliases and functions are in /etc/bashrc.
+
+append () {
+ # First remove the directory
+ local IFS=':'
+ local NEWPATH
+ for DIR in $PATH; do
+ if [ "$DIR" != "$1" ]; then
+ NEWPATH=${NEWPATH:+$NEWPATH:}$DIR
+ fi
+ done
+
+ # Then append the directory
+ export PATH=$NEWPATH:$1
+}
+
+if [ -f "$HOME/.bashrc" ] ; then
+ source $HOME/.bashrc
+fi
+
+if [ -d "$HOME/bin" ] ; then
+ append $HOME/bin
+fi
+
+unset append
+
+# End ~/.bash_profile
diff --git a/base/aaabasicfs/bashrc b/base/aaabasicfs/bashrc
new file mode 100644
index 000000000..362f07785
--- /dev/null
+++ b/base/aaabasicfs/bashrc
@@ -0,0 +1,28 @@
+# $Id: bashrc,v 1.9 2008/08/02 06:06:56 install Exp install $
+# Begin ~/.bashrc
+# Written for Beyond Linux From Scratch
+# by James Robertson <jameswrobertson@earthlink.net>
+
+# Personal aliases and functions.
+
+# Personal environment variables and startup programs should go in
+# ~/.bash_profile. System wide environment variables and startup
+# programs are in /etc/profile. System wide aliases and functions are
+# in /etc/bashrc.
+
+if [ -f "/etc/bashrc" ] ; then
+ source /etc/bashrc
+fi
+alias ll='ls -l'
+alias l='ls -alh'
+alias duh='du -h --max-depth=1'
+alias dfh='df -h'
+alias get='pkg-get depinst'
+alias build='pkgmk -d -i'
+alias check='syn;pkg-get diff'
+alias del='pkgrm'
+alias up='pkg-get update'
+alias sysup='pkg-get sysup'
+alias pkgfind='pkginfo -i | grep -i'
+
+# End ~/.bashrc
diff --git a/base/aaabasicfs/bashrc.etc b/base/aaabasicfs/bashrc.etc
new file mode 100644
index 000000000..4968c64be
--- /dev/null
+++ b/base/aaabasicfs/bashrc.etc
@@ -0,0 +1,65 @@
+# Begin /etc/bashrc
+# Written for Beyond Linux From Scratch
+# by James Robertson <jameswrobertson@earthlink.net>
+# updated by Bruce Dubbs <bdubbs@linuxfromscratch.org>
+
+# System wide aliases and functions.
+
+# System wide environment variables and startup programs should go into
+# /etc/profile. Personal environment variables and startup programs
+# should go into ~/.bash_profile. Personal aliases and functions should
+# go into ~/.bashrc
+
+# Provides a colored /bin/ls command. Used in conjunction with code in
+# /etc/profile.
+
+alias ls='ls --color=auto'
+
+# Provides prompt for non-login shells, specifically shells started
+# in the X environment. [Review the LFS archive thread titled
+# PS1 Environment Variable for a great case study behind this script
+# addendum.]
+
+NORMAL="\[\e[0m\]"
+RED="\[\e[1;31m\]"
+GREEN="\[\e[1;32m\]"
+WHITE="\[\e[1;37m\]"
+INFOMACHINE="`date +%H:%M` `uname -m` `uname -r` `whoami`@`uname -n`"
+prompt_command() {
+# Sauvegarde de la pos courante
+tput sc
+# Calcul de la largeur
+let backwash=$(tput cols)-$(echo $INFOMACHINE | wc -m)-2
+# Pos des curseurs à la position Y=0, X=longueur calculée
+tput cup 0 ${backwash}
+# Spécifie la couleur et la casse de la police
+tput setaf 4; tput bold
+# Affiche le chemin entre crochets
+echo -n "["
+# Specifie la couleur du chemin
+tput setaf 6
+# Affiche le chemin complet
+echo -n "$INFOMACHINE"
+tput setaf 4; tput bold
+# Affiche le crochet fermé
+echo -n "]"
+# Remet le curseur à sa place
+tput rc
+}
+
+PROMPT_COMMAND=prompt_command
+
+case $TERM in
+ xterm|rxvt*)
+ TITLEBAR='\[\033]0;\u@\h \007\]'
+ ;;
+ *)
+ TITLEBAR=''
+ ;;
+esac
+if [[ $EUID == 0 ]] ; then
+PS1="$TITLEBAR$RED[ \w $RED]$NORMAL "
+else
+PS1="$TITLEBAR$GREEN[ \w $GREEN]$NORMAL "
+fi
+# End /etc/bashrc
diff --git a/base/aaabasicfs/blfs-bootscripts b/base/aaabasicfs/blfs-bootscripts
new file mode 100644
index 000000000..0120d82e3
--- /dev/null
+++ b/base/aaabasicfs/blfs-bootscripts
@@ -0,0 +1,3 @@
+scripts=blfs-bootscripts
+scriptsversion=20090302
+
diff --git a/base/aaabasicfs/cleanfs b/base/aaabasicfs/cleanfs
new file mode 100755
index 000000000..51460d29f
--- /dev/null
+++ b/base/aaabasicfs/cleanfs
@@ -0,0 +1,111 @@
+#!/bin/sh
+########################################################################
+# Begin $rc_base/init.d/cleanfs
+#
+# Description : Clean file system
+#
+# Authors : Gerard Beekmans - gerard@linuxfromscratch.org
+#
+# Version : 00.00
+#
+# Notes :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+# Function to create files/directory on boot.
+create_files() {
+ # Read in the configuration file.
+ exec 9>&0 < /etc/sysconfig/createfiles
+ while read name type perm usr grp dtype maj min junk
+ do
+
+ # Ignore comments and blank lines.
+ case "${name}" in
+ ""|\#*) continue ;;
+ esac
+
+ # Ignore existing files.
+ if [ ! -e "${name}" ]; then
+ # Create stuff based on its type.
+ case "${type}" in
+ dir)
+ mkdir "${name}"
+ ;;
+ file)
+ :> "${name}"
+ ;;
+ dev)
+ case "${dtype}" in
+ char)
+ mknod "${name}" c ${maj} ${min}
+ ;;
+ block)
+ mknod "${name}" b ${maj} ${min}
+ ;;
+ pipe)
+ mknod "${name}" p
+ ;;
+ *)
+ boot_mesg -n "\nUnknown device type: ${dtype}" ${WARNING}
+ boot_mesg "" ${NORMAL}
+ ;;
+ esac
+ ;;
+ *)
+ boot_mesg -n "\nUnknown type: ${type}" ${WARNING}
+ boot_mesg "" ${NORMAL}
+ continue
+ ;;
+ esac
+
+ # Set up the permissions, too.
+ chown ${usr}:${grp} "${name}"
+ chmod ${perm} "${name}"
+ fi
+ done
+ exec 0>&9 9>&-
+}
+
+case "${1}" in
+ start)
+ boot_mesg -n "Cleaning file systems:" ${INFO}
+
+ boot_mesg -n " /tmp" ${NORMAL}
+ chmod 1777 /tmp
+ cd /tmp &&
+ find . -xdev -mindepth 1 ! -name lost+found \
+ -delete || failed=1
+
+ boot_mesg -n " /var/lock" ${NORMAL}
+ cd /var/lock &&
+ find . -type f ! -newer /proc -exec rm -f {} \; || failed=1
+
+ boot_mesg " /var/run" ${NORMAL}
+ cd /var/run &&
+ find . ! -type d ! -name utmp ! -newer /proc \
+ -exec rm -f {} \; || failed=1
+ > /var/run/utmp
+ if grep -q '^utmp:' /etc/group ; then
+ chmod 664 /var/run/utmp
+ chgrp utmp /var/run/utmp
+ fi
+
+ (exit ${failed})
+ evaluate_retval
+
+ if egrep -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null; then
+ boot_mesg "Creating files and directories..."
+ create_files
+ evaluate_retval
+ fi
+ ;;
+ *)
+ echo "Usage: ${0} {start}"
+ exit 1
+ ;;
+esac
+
+# End $rc_base/init.d/cleanfs
diff --git a/base/aaabasicfs/clock b/base/aaabasicfs/clock
new file mode 100644
index 000000000..ed6f78bfe
--- /dev/null
+++ b/base/aaabasicfs/clock
@@ -0,0 +1,5 @@
+# Begin /etc/sysconfig/clock
+
+UTC=0
+
+# End /etc/sysconfig/clock
diff --git a/base/aaabasicfs/console b/base/aaabasicfs/console
new file mode 100644
index 000000000..7963f5c30
--- /dev/null
+++ b/base/aaabasicfs/console
@@ -0,0 +1,7 @@
+# Begin /etc/sysconfig/console
+
+KEYMAP="fr-latin9.map"
+FONT="lat0-16 -m 8859-15"
+UNICODE="1"
+
+# End /etc/sysconfig/console
diff --git a/base/aaabasicfs/dircolors.sh b/base/aaabasicfs/dircolors.sh
new file mode 100644
index 000000000..873d91b9b
--- /dev/null
+++ b/base/aaabasicfs/dircolors.sh
@@ -0,0 +1,9 @@
+# Setup for /bin/ls to support color, the alias is in /etc/bashrc.
+if [ -f "/etc/dircolors" ] ; then
+ eval $(dircolors -b /etc/dircolors)
+
+ if [ -f "$HOME/.dircolors" ] ; then
+ eval $(dircolors -b $HOME/.dircolors)
+ fi
+fi
+alias ls='ls --color=auto'
diff --git a/base/aaabasicfs/extra-prompt.sh b/base/aaabasicfs/extra-prompt.sh
new file mode 100644
index 000000000..bf877dc93
--- /dev/null
+++ b/base/aaabasicfs/extra-prompt.sh
@@ -0,0 +1,2 @@
+PROMPT_COMMAND='echo -ne "\e[1m${USER}@${HOSTNAME} : ${PWD}\e[0m\a"'
+export PROMPT_COMMAND
diff --git a/base/aaabasicfs/extrapaths.sh b/base/aaabasicfs/extrapaths.sh
new file mode 100644
index 000000000..c21ca0aae
--- /dev/null
+++ b/base/aaabasicfs/extrapaths.sh
@@ -0,0 +1,21 @@
+if [ -d /usr/local/lib/pkgconfig ] ; then
+ pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH
+fi
+if [ -d /usr/local/bin ]; then
+ pathprepend /usr/local/bin
+fi
+if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then
+ pathprepend /usr/local/sbin
+fi
+for directory in $(find /opt/*/lib/pkgconfig -type d 2>/dev/null); do
+ pathappend $directory PKG_CONFIG_PATH
+done
+for directory in $(find /opt/*/bin -type d 2>/dev/null); do
+ pathappend $directory
+done
+if [ -d ~/bin ]; then
+ pathprepend ~/bin
+fi
+#if [ $EUID -gt 99 ]; then
+# pathappend .
+#fi
diff --git a/base/aaabasicfs/fstab b/base/aaabasicfs/fstab
new file mode 100644
index 000000000..0a6491a71
--- /dev/null
+++ b/base/aaabasicfs/fstab
@@ -0,0 +1,14 @@
+# Begin /etc/fstab
+
+# file system mount-point type options dump fsck
+# order
+
+/dev/sdax / reiserfs defaults 1 1
+#/dev/sda2 swap swap pri=1 0 0
+/dev/sr0 /media/cdrom iso9660 ro,user,noauto,unhide 0 0
+# /dev/sda1 /media/key1 vfat user,noauto 0 0
+proc /proc proc defaults 0 0
+sysfs /sys sysfs defaults 0 0
+devpts /dev/pts devpts gid=4,mode=620 0 0
+shm /dev/shm tmpfs defaults 0 0
+# End /etc/fstab
diff --git a/base/aaabasicfs/hosts b/base/aaabasicfs/hosts
new file mode 100644
index 000000000..1ba5cb9da
--- /dev/null
+++ b/base/aaabasicfs/hosts
@@ -0,0 +1,6 @@
+# Begin /etc/hosts
+
+127.0.0.1 localhost.localdomain localhost
+127.0.0.1 nutyx
+
+# End /etc/hosts
diff --git a/base/aaabasicfs/i18n.sh b/base/aaabasicfs/i18n.sh
new file mode 100644
index 000000000..d9b120941
--- /dev/null
+++ b/base/aaabasicfs/i18n.sh
@@ -0,0 +1,2 @@
+# Set up i18n variables
+export LANG=fr_CH.utf8
diff --git a/base/aaabasicfs/inittab b/base/aaabasicfs/inittab
new file mode 100644
index 000000000..6ff95c892
--- /dev/null
+++ b/base/aaabasicfs/inittab
@@ -0,0 +1,31 @@
+# Begin /etc/inittab
+
+# Pour le lancement de slim, supprimer le commentaire de la ligne ci-dessous
+id:4:initdefault:
+# Pour le lancement de gdm, supprimer le commentaire de la ligne ci-dessous
+# id:4:initdefault:
+# Pour le lancement de kdm, supprimer le commentaire la ligne ci-dessous
+# id:5:initdefault:
+
+si::sysinit:/etc/rc.d/init.d/rc sysinit
+
+l0:0:wait:/etc/rc.d/init.d/rc 0
+l1:S1:wait:/etc/rc.d/init.d/rc 1
+l2:2:wait:/etc/rc.d/init.d/rc 2
+l3:3:wait:/etc/rc.d/init.d/rc 3
+l4:4:wait:/etc/rc.d/init.d/rc 4
+l5:5:wait:/etc/rc.d/init.d/rc 5
+l6:6:wait:/etc/rc.d/init.d/rc 6
+
+ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now
+
+su:S016:once:/sbin/sulogin
+
+1:2345:respawn:/sbin/agetty tty1 9600
+2:2345:respawn:/sbin/agetty tty2 9600
+3:2345:respawn:/sbin/agetty tty3 9600
+4:2345:respawn:/sbin/agetty tty4 9600
+5:2345:respawn:/sbin/agetty tty5 9600
+6:2345:respawn:/sbin/agetty tty6 9600
+
+# End /etc/inittab
diff --git a/base/aaabasicfs/inputrc b/base/aaabasicfs/inputrc
new file mode 100644
index 000000000..3f3cf46cb
--- /dev/null
+++ b/base/aaabasicfs/inputrc
@@ -0,0 +1,41 @@
+# Begin /etc/inputrc
+# Modified by Chris Lynn <roryo@roryo.dynup.net>
+
+# Allow the command prompt to wrap to the next line
+set horizontal-scroll-mode Off
+
+# Enable 8bit input
+set meta-flag On
+set input-meta On
+
+# Turns off 8th bit stripping
+set convert-meta Off
+
+# Keep the 8th bit for display
+set output-meta On
+
+# none, visible or audible
+set bell-style none
+
+# All of the following map the escape sequence of the value
+# contained in the 1st argument to the readline specific functions
+"\eOd": backward-word
+"\eOc": forward-word
+
+# for linux console
+"\e[1~": beginning-of-line
+"\e[4~": end-of-line
+"\e[5~": beginning-of-history
+"\e[6~": end-of-history
+"\e[3~": delete-char
+"\e[2~": quoted-insert
+
+# for xterm
+"\eOH": beginning-of-line
+"\eOF": end-of-line
+
+# for Konsole
+"\e[H": beginning-of-line
+"\e[F": end-of-line
+
+# End /etc/inputrc
diff --git a/base/aaabasicfs/menu.lst b/base/aaabasicfs/menu.lst
new file mode 100644
index 000000000..ed91343ec
--- /dev/null
+++ b/base/aaabasicfs/menu.lst
@@ -0,0 +1,28 @@
+# Begin /boot/grub/menu.lst
+# By default boot the first menu entry.
+default 1
+
+# Allow 10 seconds before booting the default.
+timeout 10
+
+# Use prettier colors.
+color green/black light-green/black
+
+# Le superbootsplash
+gfxmenu (hd0,0)/boot/message
+
+# The first entry is for System Maintenance.
+title Maintenance de NuTyX
+root (hd0,0)
+kernel /boot/kernel ro quiet
+initrd /boot/nutyx-initrd
+
+# The second entry is the first production one
+title NuTyX 2009
+root (hd0,0)
+kernel /boot/kernel root=/dev/sda1 ro quiet
+
+# The third entry is for eventually Windows boot
+title Windows
+rootnoverify (hd0,X)
+chainloader +1
diff --git a/base/aaabasicfs/network b/base/aaabasicfs/network
new file mode 100644
index 000000000..199c848f3
--- /dev/null
+++ b/base/aaabasicfs/network
@@ -0,0 +1 @@
+HOSTNAME=nutyx
diff --git a/base/aaabasicfs/nu b/base/aaabasicfs/nu
new file mode 100755
index 000000000..ceabb6f40
--- /dev/null
+++ b/base/aaabasicfs/nu
@@ -0,0 +1,136 @@
+#!/bin/bash
+
+
+######################################
+#### Default Vars ####################
+######################################
+
+user_groups=""
+default_groups=(users disk network floppy fuse video lp audio cdrom halusers scanner)
+
+# Avoid spaces troubles :)
+OLD_IFS=$IFS
+IFS="|
+"
+
+
+######################################
+#### Functions #######################
+######################################
+
+check_args()
+{
+ description="$1"
+ name="$2"
+
+ name_test=`echo -n "$name" | sed 's@^[a-z][a-z0-9]*$@@g'`
+ if [ "$name_test" != "" ]; then
+ echo 1>&2 "CRITICAL - Le nom contient des caractères interdits:
+ Il doit commencer par une lettre uniquement
+ et ne peut contenir que des minuscules et des chiffres
+"
+ return 1
+ fi
+ if grep "$name" /etc/passwd > /dev/null; then
+ echo 1>&2 "Le nom $name existe deja!"
+ return 2
+ fi
+
+ desc_test=`echo "$description" | sed 's@^[[:alnum:]! -.,~_@;%<>?]*$@@ig'`
+ if [ "$desc_test" != "" ]; then
+ echo 1>&2 "CRITICAL - La description contient des caractères interdits:
+ Elle ne peut contenir que des lettres/chiffres et les caractères
+ suivants ! -.,~_\\\@;%<>?
+"
+ return 3
+ fi
+ return 0
+}
+
+usage()
+{
+ echo 1>&2 'USAGE:
+ nu [<description> <nomutilisateur>]
+ Si <nomutilisateur> existe déjà, un message sera envoye sur le terminal,
+ dans ce cas, aucun changement ne sera fait, et aucun nouveau compte ne
+ sera créé.
+
+ <description> doit être valide pour le champ du fichier /etc/passwd description
+ Ce qui veut dire que ce champ ne doit pas contenir de ":".
+'
+ exit 1
+}
+
+######################################
+#### Scripting time ##################
+######################################
+
+if [ $# -eq 1 -o $# -gt 2 ]; then
+ usage
+fi
+
+if [ $UID -ne 0 ]; then
+ echo 1>&2 "Veuillez exécuter cette commande en root"
+ exit 1;
+fi
+
+if [ $# -lt 2 ]; then
+ echo -n "Nom : "
+ read name
+ echo -n "Description : "
+ read description
+else
+ description="$1"
+ name="$2"
+fi
+
+check_args "$description" "$name"
+ret=$?
+while [ $ret -ne 0 ]; do
+ if [ $ret -lt 3 ]; then
+ echo -n "Nouveau nom : "
+ read name
+ fi
+ if [ $ret -eq 3 ]; then
+ echo -n "Nouvelle description : "
+ read description
+ fi
+ if [ "$name" == "!stop!" -o "$description" == "!stop!" ]; then
+ exit 1
+ fi
+ check_args "$description" "$name"
+ ret=$?
+done
+
+i=0
+while [ -n "${default_groups[i]}" ]; do
+ if grep "${default_groups[i]}" /etc/group > /dev/null ; then
+ if [ -z "$user_groups" ]; then
+ user_groups="${default_groups[i]}"
+ else
+ user_groups="$user_groups,${default_groups[i]}"
+ fi
+ echo "groupes : $user_groups"
+# else
+# echo 1>&2 ' Veuillez installez un gestionnaire de fenetre,
+# redemarrer la machine dans ce gestionnaire,
+# et relancer cette commande.
+#'
+# exit 1
+ fi
+ i=$((i+1))
+done
+
+echo 1>&2 "
+Création de $name.
+"
+echo "/usr/sbin/useradd -c ${description} $user_groups -m ${name}"
+if [ -z "$user_groups" ]; then
+ /usr/sbin/useradd -c "${description}" -m "${name}" || exit 1
+else
+ /usr/sbin/useradd -c "${description}" -G "$user_groups" -m "${name}" || exit 1
+fi
+passwd "$name"
+
+exit 0
+
diff --git a/base/aaabasicfs/profile b/base/aaabasicfs/profile
new file mode 100644
index 000000000..96b7d6deb
--- /dev/null
+++ b/base/aaabasicfs/profile
@@ -0,0 +1,72 @@
+# Begin /etc/profile
+# Written for Beyond Linux From Scratch
+# by James Robertson <jameswrobertson@earthlink.net>
+# modifications by Dagmar d'Surreal <rivyqntzne@pbzpnfg.arg>
+
+# System wide environment variables and startup programs.
+
+# System wide aliases and functions should go in /etc/bashrc. Personal
+# environment variables and startup programs should go into
+# ~/.bash_profile. Personal aliases and functions should go into
+# ~/.bashrc.
+
+# Functions to help us manage paths. Second argument is the name of the
+# path variable to be modified (default: PATH)
+pathremove () {
+ local IFS=':'
+ local NEWPATH
+ local DIR
+ local PATHVARIABLE=${2:-PATH}
+ for DIR in ${!PATHVARIABLE} ; do
+ if [ "$DIR" != "$1" ] ; then
+ NEWPATH=${NEWPATH:+$NEWPATH:}$DIR
+ fi
+ done
+ export $PATHVARIABLE="$NEWPATH"
+}
+
+pathprepend () {
+ pathremove $1 $2
+ local PATHVARIABLE=${2:-PATH}
+ export $PATHVARIABLE="$1${!PATHVARIABLE:+:${!PATHVARIABLE}}"
+}
+
+pathappend () {
+ pathremove $1 $2
+ local PATHVARIABLE=${2:-PATH}
+ export $PATHVARIABLE="${!PATHVARIABLE:+${!PATHVARIABLE}:}$1"
+}
+
+
+# Set the initial path
+export PATH=/bin:/usr/bin
+
+if [ $EUID -eq 0 ] ; then
+ pathappend /sbin:/usr/sbin
+ unset HISTFILE
+fi
+
+# Setup some environment variables.
+export HISTSIZE=1000
+export HISTIGNORE="&:[bf]g:exit"
+
+# Setup a red prompt for root and a green one for users.
+NORMAL="\[\e[0m\]"
+RED="\[\e[1;31m\]"
+GREEN="\[\e[1;32m\]"
+if [[ $EUID == 0 ]] ; then
+ PS1="$RED\u [ $NORMAL\w$RED ]# $NORMAL"
+else
+ PS1="$GREEN\u [ $NORMAL\w$GREEN ]\$ $NORMAL"
+fi
+
+for script in /etc/profile.d/*.sh ; do
+ if [ -r $script ] ; then
+ . $script
+ fi
+done
+
+# Now to clean up
+unset pathremove pathprepend pathappend
+
+# End /etc/profile
diff --git a/base/aaabasicfs/readline.sh b/base/aaabasicfs/readline.sh
new file mode 100644
index 000000000..816d7c102
--- /dev/null
+++ b/base/aaabasicfs/readline.sh
@@ -0,0 +1,5 @@
+# Setup the INPUTRC environment variable.
+if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ] ; then
+ INPUTRC=/etc/inputrc
+fi
+export INPUTRC
diff --git a/base/aaabasicfs/sysklogd b/base/aaabasicfs/sysklogd
new file mode 100755
index 000000000..44a290e35
--- /dev/null
+++ b/base/aaabasicfs/sysklogd
@@ -0,0 +1,64 @@
+#!/bin/sh
+########################################################################
+# Begin $rc_base/init.d/sysklogd
+#
+# Description : Sysklogd loader
+#
+# Authors : Gerard Beekmans - gerard@linuxfromscratch.org
+#
+# Version : 00.00
+#
+# Notes : Move the log file to old when stopping
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+ start)
+ boot_mesg "Starting system log daemon..."
+ loadproc syslogd -m 0
+
+ boot_mesg "Starting kernel log daemon..."
+ loadproc klogd
+ ;;
+
+ stop)
+ boot_mesg "Stopping kernel log daemon..."
+ killproc klogd
+ mv /var/log/kern.log /var/log/kern.log.old
+ touch /var/log/kern.log
+
+ boot_mesg "Stopping system log daemon..."
+ killproc syslogd
+ mv /var/log/sys.log /var/log/sys.log.old
+ touch /var/log/sys.log
+ mv /var/log/wtmp /var/log/wtmp.old
+ touch /var/log/wtmp
+ ;;
+
+ reload)
+ boot_mesg "Reloading system log daemon config file..."
+ reloadproc syslogd
+ ;;
+
+ restart)
+ ${0} stop
+ sleep 1
+ ${0} start
+ ;;
+
+ status)
+ statusproc syslogd
+ statusproc klogd
+ ;;
+
+ *)
+ echo "Usage: ${0} {start|stop|reload|restart|status}"
+ exit 1
+ ;;
+esac
+
+# End $rc_base/init.d/sysklogd
+
diff --git a/base/aaabasicfs/unmask.sh b/base/aaabasicfs/unmask.sh
new file mode 100644
index 000000000..9a3f8243d
--- /dev/null
+++ b/base/aaabasicfs/unmask.sh
@@ -0,0 +1,6 @@
+# By default we want the umask to get set.
+if [ "$(id -gn)" = "$(id -un)" -a $EUID -gt 99 ] ; then
+ umask 002
+else
+ umask 022
+fi
diff --git a/base/aaabasicfs/xorg.conf b/base/aaabasicfs/xorg.conf
new file mode 100644
index 000000000..6c945b728
--- /dev/null
+++ b/base/aaabasicfs/xorg.conf
@@ -0,0 +1,51 @@
+Section "ServerFlags"
+ Option "AllowEmptyInput" "off"
+EndSection
+Section "Files"
+EndSection
+
+Section "InputDevice"
+ Identifier "Generic Keyboard"
+ Driver "kbd"
+ Option "CoreKeyboard"
+ Option "XkbRules" "xorg"
+ Option "XkbModel" "pc105"
+ Option "XkbLayout" "fr"
+ Option "XkbOptions" "grp:alt_shift_toggle"
+EndSection
+
+Section "InputDevice"
+ Identifier "Configured Mouse"
+ Driver "mouse"
+ Option "CorePointer"
+ Option "Device" "/dev/input/mice"
+ Option "Protocol" "ImPS/2"
+ Option "ZAxisMapping" "4 5"
+ Option "Emulate3Buttons" "true"
+EndSection
+# La section ci-dessous defini le pilote d'affichage par defaut
+# Si vous le souhaitez, compilez le pilote de votre carte graphique:
+# Par exemple pour le pilote ati
+# prt-get install xorg-xf86-video-ati
+# si tout se passe bien, vous pouvez commenter la section ci-dessous
+Section "Device"
+ Identifier "VESA"
+ Driver "vesa"
+EndSection
+#Section "Monitor"
+# Identifier "Default Monitor"
+# HorizSync 30-81
+# VertRefresh 56-76
+#EndSection
+Section "Screen"
+ Identifier "Default Screen"
+ Device "Normal Screen"
+ Monitor "Default Monitor"
+ DefaultDepth 16
+# La sous-section ci-dessous défini la résolution graphique
+# A ajuster en fontion de l'écran utilisé
+ SubSection "Display"
+ Depth 16
+ Modes "1024x768"
+ EndSubSection
+EndSection