diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:12:28 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:12:28 +0100 |
commit | 9291e062cb24bac5d7c7059d4dc64669c1917b33 (patch) | |
tree | ae6f7e4fb2769d6c53b214c5e0b4d862f1df98dc /aaabasicfs | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.gz nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.bz2 nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.xz nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.zip |
aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé
Diffstat (limited to 'aaabasicfs')
-rw-r--r-- | aaabasicfs/.footprint.i686 | 248 | ||||
-rw-r--r-- | aaabasicfs/.footprint.x86_64 | 250 | ||||
-rw-r--r-- | aaabasicfs/.md5sum.i686 | 18 | ||||
-rw-r--r-- | aaabasicfs/.md5sum.x86_64 | 18 | ||||
-rw-r--r-- | aaabasicfs/Pkgfile | 237 | ||||
-rw-r--r-- | aaabasicfs/X.sh | 18 | ||||
-rw-r--r-- | aaabasicfs/bash_profile | 36 | ||||
-rw-r--r-- | aaabasicfs/bashrc | 28 | ||||
-rw-r--r-- | aaabasicfs/bashrc.etc | 65 | ||||
-rw-r--r-- | aaabasicfs/dircolors.sh | 9 | ||||
-rw-r--r-- | aaabasicfs/extra-prompt.sh | 2 | ||||
-rw-r--r-- | aaabasicfs/extrapaths.sh | 21 | ||||
-rw-r--r-- | aaabasicfs/fstab | 10 | ||||
-rw-r--r-- | aaabasicfs/inittab | 33 | ||||
-rw-r--r-- | aaabasicfs/inputrc | 41 | ||||
-rwxr-xr-x | aaabasicfs/network | 96 | ||||
-rwxr-xr-x | aaabasicfs/nu | 136 | ||||
-rw-r--r-- | aaabasicfs/profile | 72 | ||||
-rwxr-xr-x | aaabasicfs/rc | 112 | ||||
-rw-r--r-- | aaabasicfs/readline.sh | 5 | ||||
-rw-r--r-- | aaabasicfs/unmask.sh | 6 |
21 files changed, 1461 insertions, 0 deletions
diff --git a/aaabasicfs/.footprint.i686 b/aaabasicfs/.footprint.i686 new file mode 100644 index 000000000..4f652f69e --- /dev/null +++ b/aaabasicfs/.footprint.i686 @@ -0,0 +1,248 @@ +drwxr-xr-x root/root bin/ +lrwxrwxrwx root/root bin/sh -> bash +drwxr-xr-x root/root boot/ +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/ +-rw-r--r-- root/root etc/bashrc +lrwxrwxrwx root/root etc/blfs-bootscripts -> /var/lib/pkg/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/inittab +-rw-r--r-- root/root etc/inputrc +drwxr-xr-x root/root etc/modprobe.d/ +-rw-r--r-- root/root etc/mtab (EMPTY) +lrwxrwxrwx root/root etc/nutyx-version -> /var/lib/pkg/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/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/iplink +-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/mountvirtfs +-rwxr-xr-x root/root etc/rc.d/init.d/network +-rwxr-xr-- root/root etc/rc.d/init.d/random +-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/K45random -> ../init.d/random +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/S70swap -> ../init.d/swap +lrwxrwxrwx root/root etc/rc.d/rc0.d/S80mountfs -> ../init.d/mountfs +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 +lrwxrwxrwx root/root etc/rc.d/rc1.d/S25random -> ../init.d/random +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 +lrwxrwxrwx root/root etc/rc.d/rc2.d/S25random -> ../init.d/random +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 +lrwxrwxrwx root/root etc/rc.d/rc3.d/S25random -> ../init.d/random +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 +lrwxrwxrwx root/root etc/rc.d/rc4.d/S25random -> ../init.d/random +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 +lrwxrwxrwx root/root etc/rc.d/rc5.d/S25random -> ../init.d/random +drwxr-xr-x root/root etc/rc.d/rc6.d/ +lrwxrwxrwx root/root etc/rc.d/rc6.d/K45random -> ../init.d/random +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/S70swap -> ../init.d/swap +lrwxrwxrwx root/root etc/rc.d/rc6.d/S80mountfs -> ../init.d/mountfs +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/S01mountvirtfs -> ../init.d/mountvirtfs +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/S15setclock -> ../init.d/setclock +lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S20checkfs -> ../init.d/checkfs +lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S30mountfs -> ../init.d/mountfs +lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S40swap -> ../init.d/swap +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 +-rw-r--r-- root/root etc/skel/.dmrc +drwxr-xr-x root/root etc/sysconfig/ +-rw-r--r-- root/root etc/sysconfig/modules +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/20-keyboard.conf -> ../etc/X11/xorg.conf.d/20-keyboard.conf +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/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/inittab -> ../etc/inittab +lrwxrwxrwx root/root root/inputrc -> ../etc/inputrc +lrwxrwxrwx root/root root/menu.lst -> ../boot/grub/menu.lst +lrwxrwxrwx root/root root/modprobe.d -> ../etc/modprobe.d +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/profile.d -> ../etc/profile.d +lrwxrwxrwx root/root root/prt-get.conf -> ../etc/prt-get.conf +lrwxrwxrwx root/root root/resolv.conf -> ../etc/resolv.conf +lrwxrwxrwx root/root root/shells -> ../etc/shells +lrwxrwxrwx root/root root/sysconfig -> ../etc/sysconfig +lrwxrwxrwx root/root root/useradd -> ../etc/default/useradd +drwxr-xr-x root/root run/ +-rw-rw-r-- root/utmp run/utmp (EMPTY) +drwxr-xr-x root/root sbin/ +drwxr-xr-x root/root srv/ +drwxrwxrwt root/root srv/sources/ +drwxr-xr-x root/root sys/ +drwxrwxrwt root/root tmp/ +drwxr-xr-x root/root usr/ +lrwxrwxrwx root/root usr/X11R6 -> /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/applications/ +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/lib/pkg/ +-rw-r--r-- root/root var/lib/pkg/blfs-bootscripts +-rw-r--r-- root/root var/lib/pkg/nutyx-version +drwxr-xr-x root/root var/local/ +lrwxrwxrwx root/root var/lock -> ../run/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/ +lrwxrwxrwx root/root var/run -> ../run +drwxr-xr-x root/root var/spool/ +drwxrwxrwt root/root var/tmp/ diff --git a/aaabasicfs/.footprint.x86_64 b/aaabasicfs/.footprint.x86_64 new file mode 100644 index 000000000..c9ba9ca43 --- /dev/null +++ b/aaabasicfs/.footprint.x86_64 @@ -0,0 +1,250 @@ +drwxr-xr-x root/root bin/ +lrwxrwxrwx root/root bin/sh -> bash +drwxr-xr-x root/root boot/ +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/ +-rw-r--r-- root/root etc/bashrc +lrwxrwxrwx root/root etc/blfs-bootscripts -> /var/lib/pkg/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/inittab +-rw-r--r-- root/root etc/inputrc +drwxr-xr-x root/root etc/modprobe.d/ +-rw-r--r-- root/root etc/mtab (EMPTY) +lrwxrwxrwx root/root etc/nutyx-version -> /var/lib/pkg/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/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/iplink +-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/mountvirtfs +-rwxr-xr-x root/root etc/rc.d/init.d/network +-rwxr-xr-- root/root etc/rc.d/init.d/random +-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/K45random -> ../init.d/random +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/S70swap -> ../init.d/swap +lrwxrwxrwx root/root etc/rc.d/rc0.d/S80mountfs -> ../init.d/mountfs +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 +lrwxrwxrwx root/root etc/rc.d/rc1.d/S25random -> ../init.d/random +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 +lrwxrwxrwx root/root etc/rc.d/rc2.d/S25random -> ../init.d/random +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 +lrwxrwxrwx root/root etc/rc.d/rc3.d/S25random -> ../init.d/random +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 +lrwxrwxrwx root/root etc/rc.d/rc4.d/S25random -> ../init.d/random +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 +lrwxrwxrwx root/root etc/rc.d/rc5.d/S25random -> ../init.d/random +drwxr-xr-x root/root etc/rc.d/rc6.d/ +lrwxrwxrwx root/root etc/rc.d/rc6.d/K45random -> ../init.d/random +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/S70swap -> ../init.d/swap +lrwxrwxrwx root/root etc/rc.d/rc6.d/S80mountfs -> ../init.d/mountfs +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/S01mountvirtfs -> ../init.d/mountvirtfs +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/S15setclock -> ../init.d/setclock +lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S20checkfs -> ../init.d/checkfs +lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S30mountfs -> ../init.d/mountfs +lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S40swap -> ../init.d/swap +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 +-rw-r--r-- root/root etc/skel/.dmrc +drwxr-xr-x root/root etc/sysconfig/ +-rw-r--r-- root/root etc/sysconfig/modules +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) +lrwxrwxrwx root/root lib64 -> lib +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/20-keyboard.conf -> ../etc/X11/xorg.conf.d/20-keyboard.conf +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/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/inittab -> ../etc/inittab +lrwxrwxrwx root/root root/inputrc -> ../etc/inputrc +lrwxrwxrwx root/root root/menu.lst -> ../boot/grub/menu.lst +lrwxrwxrwx root/root root/modprobe.d -> ../etc/modprobe.d +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/profile.d -> ../etc/profile.d +lrwxrwxrwx root/root root/prt-get.conf -> ../etc/prt-get.conf +lrwxrwxrwx root/root root/resolv.conf -> ../etc/resolv.conf +lrwxrwxrwx root/root root/shells -> ../etc/shells +lrwxrwxrwx root/root root/sysconfig -> ../etc/sysconfig +lrwxrwxrwx root/root root/useradd -> ../etc/default/useradd +drwxr-xr-x root/root run/ +-rw-rw-r-- root/utmp run/utmp (EMPTY) +drwxr-xr-x root/root sbin/ +drwxr-xr-x root/root srv/ +drwxrwxrwt root/root srv/sources/ +drwxr-xr-x root/root sys/ +drwxrwxrwt root/root tmp/ +drwxr-xr-x root/root usr/ +lrwxrwxrwx root/root usr/X11R6 -> /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/ +lrwxrwxrwx root/root usr/lib64 -> 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/applications/ +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/lib/pkg/ +-rw-r--r-- root/root var/lib/pkg/blfs-bootscripts +-rw-r--r-- root/root var/lib/pkg/nutyx-version +drwxr-xr-x root/root var/local/ +lrwxrwxrwx root/root var/lock -> ../run/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/ +lrwxrwxrwx root/root var/run -> ../run +drwxr-xr-x root/root var/spool/ +drwxrwxrwt root/root var/tmp/ diff --git a/aaabasicfs/.md5sum.i686 b/aaabasicfs/.md5sum.i686 new file mode 100644 index 000000000..bc3a50562 --- /dev/null +++ b/aaabasicfs/.md5sum.i686 @@ -0,0 +1,18 @@ +4c4b8a20548cf20d1aeb0a820fa92211 X.sh +61ba4859757a54bf1f514de5213802e0 bash_profile +f29eb765bd7c24471d055cc72b0edd4e bashrc +3974f1b4242908346f309b096a7a6ed6 bashrc.etc +8026923cf29639bf6ac5a2b77bec74dc blfs-bootscripts-20100825.tar.bz2 +248d4faa838949085a51003b2c0c3f00 dircolors.sh +ad457024fe7ad91b8e9e0b4aad87df1f extrapaths.sh +64514eb39b4878f060065cab28191ee5 fstab +4e641aa7a51f285c0a832b8a7dd8ed29 inittab +2ca09cd10bcc4f6adb0c5b1521bfdb7e inputrc +f05a15125a4c6008471d96b096445e21 lfs-bootscripts-03.patch +5041ee97992e3f10d3be44f46a6aeb76 lfs-bootscripts-20110424.tar.bz2 +a4b9ef7206b92307c548bf789d6a997a network +4f193837349d63e6c98501f221904170 nu +210fdabd07248f79617508807715167b profile +b860cf492e983f400666fa43c00f2954 rc +fa6ce99e0329c7854e0a83d022da6fe3 readline.sh +87a81331c2241707ab494584eb49a80b unmask.sh diff --git a/aaabasicfs/.md5sum.x86_64 b/aaabasicfs/.md5sum.x86_64 new file mode 100644 index 000000000..bc3a50562 --- /dev/null +++ b/aaabasicfs/.md5sum.x86_64 @@ -0,0 +1,18 @@ +4c4b8a20548cf20d1aeb0a820fa92211 X.sh +61ba4859757a54bf1f514de5213802e0 bash_profile +f29eb765bd7c24471d055cc72b0edd4e bashrc +3974f1b4242908346f309b096a7a6ed6 bashrc.etc +8026923cf29639bf6ac5a2b77bec74dc blfs-bootscripts-20100825.tar.bz2 +248d4faa838949085a51003b2c0c3f00 dircolors.sh +ad457024fe7ad91b8e9e0b4aad87df1f extrapaths.sh +64514eb39b4878f060065cab28191ee5 fstab +4e641aa7a51f285c0a832b8a7dd8ed29 inittab +2ca09cd10bcc4f6adb0c5b1521bfdb7e inputrc +f05a15125a4c6008471d96b096445e21 lfs-bootscripts-03.patch +5041ee97992e3f10d3be44f46a6aeb76 lfs-bootscripts-20110424.tar.bz2 +a4b9ef7206b92307c548bf789d6a997a network +4f193837349d63e6c98501f221904170 nu +210fdabd07248f79617508807715167b profile +b860cf492e983f400666fa43c00f2954 rc +fa6ce99e0329c7854e0a83d022da6fe3 readline.sh +87a81331c2241707ab494584eb49a80b unmask.sh diff --git a/aaabasicfs/Pkgfile b/aaabasicfs/Pkgfile new file mode 100644 index 000000000..0d3377163 --- /dev/null +++ b/aaabasicfs/Pkgfile @@ -0,0 +1,237 @@ +# 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 + +name=aaabasicfs +version=2011 +release=3 +scriptsversion=lfs-bootscripts-20110424 +BLFSscriptsversion=20100825 +XORG_PREFIX=/usr +source=(http://nutyx.meticul.eu/files/patchs/$name/$scriptsversion.tar.bz2 \ + http://nutyx.meticul.eu/files/patchs/$name/blfs-bootscripts-$BLFSscriptsversion.tar.bz2 \ + http://nutyx.meticul.eu/files/patchs/$name/lfs-bootscripts-03.patch \ + fstab inittab inputrc network rc profile dircolors.sh extrapaths.sh \ + bash_profile bashrc bashrc.etc nu readline.sh unmask.sh X.sh ) + + +build() { + # Creating Directories + + mkdir -pv $PKG/{dev,proc,sys,bin,boot,etc/{modprobe.d,profile.d,opt,skel,default},home,lib,mnt,opt,srv/sources,run} + 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 + # Needs for cups + mkdir -p $PKG/usr/share/applications + 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 + case $(uname -m) in + x86_64) ln -sv lib $PKG/lib64 && ln -sv lib $PKG/usr/lib64 ;; + esac + + mkdir -v $PKG/var/{log,mail,spool} + ln -sv ../run $PKG/var/run + ln -sv ../run/lock $PKG/var/lock + 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 -s bash $PKG/bin/sh + ln -s $XORG_PREFIX $PKG/$XORG_PREFIX/X11R6 + mkdir -p $PKG/var/lib/pkg/ + echo "$version-$release" > $PKG/var/lib/pkg/nutyx-version + ln -s /var/lib/pkg/nutyx-version $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 +bin:x:1:1::/dev/null:/bin/false +lp:x:9:9:Print Service User:/dev/null:/bin/false +messagebus:x:18:18:D-BUS Message Daemon User:/dev/null:/bin/false +haldaemon:x:19:19:HAL Daemon User:/dev/null:/bin/false +named:x:20:20:BIND Owner:/home/named:/bin/false +gdm:x:21:21:GDM Daemon User:/dev/null:/sbin/nologin +fcron:x:22:22:Fcron User:/dev/null:/bin/false +kdm:x:23:23:KDM Daemon User:/dev/null:/bin/false +lxdm:24:24:LXDM Daemon User:/dev/null:/sbin/nologin +apache:x:25:25:Apache Server:/dev/null:/bin/false +smmsp:x:26:26:Sendmail Daemon:/dev/null:/bin/false +polkituser:x:27:27:Policy Kit Daemon User:/dev/null:/bin/false +mysql:x:40:40:MySQL Server:/dev/null/:bin/false +postgres:x:41:41:PostgreSQL Server:/srv/pgsql/data:/bin/bash +rsyncd:48:48:rsyncd Daemon:/home/rsync:/bin/false +sshd:x:50:50:sshd PrivSep:/var/lib/sshd:/bin/false +policykit:x:62:62:PolicyKit:/:/sbin/nologin +tomcat:x:66:66:Tomcat Server:/opt/tomcat:/bin/false +avahi:x:85:85:Avahi daemon:/:/bin/false +clamav:x:97:97:Clamav Antivirus:/dev/null:/bin/false +anonymous:x:98:98::/home/anonymous:/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:gdm +fcron:x:22: +kdm:x:23:kdm +lxdm:x:24:lxdm +apache:x:25: +smmsp:x:26: +polkituser:x:27: +mail:x:34: +mysql:x:40: +postgres:x:41: +rsyncd:x:48: +sshd:x:50: +pppusers:x:52: +games:x:60: +halusers:x:61: +policykit:x:62: +plugdev:x:63: +fuse:x:65: +tomcat:x:66: +scanner:x:70: +vboxusers:x:80: +avahi:x:85: +clamav:x:97: +anonymous: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 + patch -Np1 -i ../lfs-bootscripts-03.patch + make DESTDIR=$PKG install + # Rename network script + mv $PKG/etc/rc.d/init.d/{network,iplink} + cp $SRC/network $PKG/etc/rc.d/init.d/ + cp $SRC/rc $PKG/etc/rc.d/init.d/ + # 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 {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}\ + $PKG/etc/profile.d/ + cp -v bash_profile $PKG/etc/skel/.bash_profile + cp -v bashrc $PKG/etc/skel/.bashrc + 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 + cat > $PKG/var/lib/pkg/blfs-bootscripts << "EOF" +scripts=blfs-bootscripts +EOF + echo "scriptsversion=$BLFSscriptsversion" >> $PKG/var/lib/pkg/blfs-bootscripts + ln -s /var/lib/pkg/blfs-bootscripts $PKG/etc/blfs-bootscripts + # Install Random Number Generation + cd $SRC/blfs-bootscripts-$BLFSscriptsversion + make DESTDIR=$PKG install-random + + cat > $PKG/etc/skel/.dmrc << "EOF" +[Desktop] +Session= +EOF + cat >> $PKG/etc/profile.d/extrapaths.sh << "EOF" +if [ -d /install ]; then + pathappend /install +fi +EOF + 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/sysconfig + ln -s ../etc/profile.d + ln -s ../etc/modprobe.d + 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/shells + ln -s ../etc/skel/.xinitrc + ln -s ../etc/X11/xorg.conf.d/20-keyboard.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 + for i in rc0.d rc6.d + do + mv $PKG/etc/rc.d/$i/S{80,70}swap + mv $PKG/etc/rc.d/$i/S{70,80}mountfs + done + ln -s ../init.d/setclock $PKG/etc/rc.d/rcsysinit.d/S15setclock + mv $PKG/etc/rc.d/rcsysinit.d/S{00,01}mountvirtfs + mv $PKG/etc/rc.d/rcsysinit.d/S{20,40}swap + mv $PKG/etc/rc.d/rcsysinit.d/S{30,20}checkfs + mv $PKG/etc/rc.d/rcsysinit.d/S{40,30}mountfs +} diff --git a/aaabasicfs/X.sh b/aaabasicfs/X.sh new file mode 100644 index 000000000..4fc5a6a29 --- /dev/null +++ b/aaabasicfs/X.sh @@ -0,0 +1,18 @@ +export LIBGLADE_MODULE_PATH=/usr/lib/libglade/2.0 +export QT4DIR=/usr +export INFOPATH=/usr/share/info +export PYTHONPATH=/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/GMenuSimpleEditor +if [ -x /usr/X11R6/bin/X ]; then + pathappend /usr/X11R6/bin + XDG_DATA_DIRS=/usr/share:/usr/share/akonadi/agents:/usr/local/share + XDG_CONFIG_DIRS=/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/aaabasicfs/bash_profile b/aaabasicfs/bash_profile new file mode 100644 index 000000000..f0a4a1419 --- /dev/null +++ b/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/aaabasicfs/bashrc b/aaabasicfs/bashrc new file mode 100644 index 000000000..316652ac8 --- /dev/null +++ b/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='syn;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/aaabasicfs/bashrc.etc b/aaabasicfs/bashrc.etc new file mode 100644 index 000000000..4968c64be --- /dev/null +++ b/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/aaabasicfs/dircolors.sh b/aaabasicfs/dircolors.sh new file mode 100644 index 000000000..873d91b9b --- /dev/null +++ b/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/aaabasicfs/extra-prompt.sh b/aaabasicfs/extra-prompt.sh new file mode 100644 index 000000000..bf877dc93 --- /dev/null +++ b/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/aaabasicfs/extrapaths.sh b/aaabasicfs/extrapaths.sh new file mode 100644 index 000000000..c21ca0aae --- /dev/null +++ b/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/aaabasicfs/fstab b/aaabasicfs/fstab new file mode 100644 index 000000000..8e4009951 --- /dev/null +++ b/aaabasicfs/fstab @@ -0,0 +1,10 @@ +# file system mount-point type options dump fsck +# order +# Exemple de montage nfs +# 192.168.254.254:/home/install /home/install nfs rw,_netdev,rsize=8192,wsize=8192 0 0 + +/dev/sr0 /media/cdrom iso9660 ro,user,noauto,unhide 0 0 +proc /proc proc defaults 0 0 +sysfs /sys sysfs defaults 0 0 +devpts /dev/pts devpts gid=4,mode=620 0 0 +tmpfs /run tmpfs defaults 0 0 diff --git a/aaabasicfs/inittab b/aaabasicfs/inittab new file mode 100644 index 000000000..d8dac783a --- /dev/null +++ b/aaabasicfs/inittab @@ -0,0 +1,33 @@ +# Begin /etc/inittab +# Pour le lancement de la console: id:3 (defaut si installation de base) +# Pour le lancement de lxdm: id:4 (defaut si installation de xfce) +# Pour le lancement de kdm: id:5 (defaut si installation de kde) + +id:3: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 + +20:4:respawn:/usr/sbin/lxdm >& /dev/null + +30:5:respawn:/usr/bin/kdm + +# End /etc/inittab diff --git a/aaabasicfs/inputrc b/aaabasicfs/inputrc new file mode 100644 index 000000000..3f3cf46cb --- /dev/null +++ b/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/aaabasicfs/network b/aaabasicfs/network new file mode 100755 index 000000000..8340cd68e --- /dev/null +++ b/aaabasicfs/network @@ -0,0 +1,96 @@ +#!/bin/sh +# Begin $rc_base/init.d/network + +# Based on sysklogd script from LFS-3.1 and earlier. +# Rewritten by thierryn1@hispeed.ch + +. /etc/sysconfig/rc +. $rc_functions + +# Network configuration +. /etc/sysconfig/network + +NM_PIDFILE=/var/run/NetworkManager.pid +WICD_PIDFILE= + +TIME=$NETWORKDELAY +case "$1" in + start) + if [ "$MANAGER" == "networkmanager" ] && [ -x /usr/sbin/NetworkManager ]; then + boot_mesg "Setting network parameters... " + sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1 + echo_ok + + boot_mesg "Starting NetworkManager daemon..." + loadproc NetworkManager --pid-file $NM_PIDFILE + if [ "${NETWORKWAIT}" == "yes" ]; then + [ -z "${LINKDELAY}" ] && LINKDELAY=10 + boot_mesg "Waiting for network..." + nm-online -q --timeout=$LINKDELAY || nm-online -q -x --timeout=30 + [ "$?" = "0" ] && log_success_msg "Network startup" || log_failure_msg "Network startup" + [ -n "${NETWORKDELAY}" ] && /bin/sleep ${NETWORKDELAY} + fi + + elif [ "$MANAGER" == "wicd" ] && [ -f /usr/share/wicd/daemon/wicd-daemon.py ]; then + boot_mesg "Starting the wicd Daemon..." + loadproc /usr/share/wicd/daemon/wicd-daemon.py + if grep -v ^# /etc/fstab | grep _netdev > /dev/null; then + while ! grep "nameserver" /etc/resolv.conf ; + do + if [ $TIME -gt 0 ]; then + sleep 1 + echo -n . + let TIME=$TIME-1 + if [ $TIME -lt 1 ]; then + boot_mesg "Time out" + echo_failure + exit 1 + fi + fi + done + boot_mesg "Network successfully configured..." + echo_ok + fi + + else + if [ -f /etc/rc.d/init.d/iplink ]; then + /etc/rc.d/init.d/iplink start + fi + fi + ;; + + stop) + if [ "$MANAGER" == "networkmanager" ] && [ -x /usr/sbin/NetworkManager ]; then + boot_mesg "Stopping NetworkManager daemon..." + killproc -p $NM_PIDFILE NetworkManager + elif [ "$MANAGER" == "wicd" ] && [ -f /usr/share/wicd/daemon/wicd-daemon.py ]; then + boot_mesg "Stopping the wicd Daemon..." + loadproc /usr/share/wicd/daemon/wicd-daemon.py --kill + else + if [ -f /etc/rc.d/init.d/iplink ]; then + /etc/rc.d/init.d/iplink stop + fi + fi + ;; + status) + if [ "$MANAGER" == "networkmanager" ] && [ -x /usr/sbin/NetworkManager ]; then + statusproc -p $NM_PIDFILE NetworkManager + else + if [ "$MANAGER" == "wicd" ] && [ -f /usr/share/wicd/daemon/wicd-daemon.py ]; then + statusproc -p /var/run/wicd/wicd.pid "/usr/bin/python2 /usr/share/wicd/daemon/wicd-daemon.py" + fi + fi + ;; + restart) + ${0} stop + sleep 3 + ${0} start + ;; + + *) + echo "Usage: $0 {start|stop|restart|status}" + exit 1 + ;; +esac + +# End $rc_base/init.d/network diff --git a/aaabasicfs/nu b/aaabasicfs/nu new file mode 100755 index 000000000..2828c6392 --- /dev/null +++ b/aaabasicfs/nu @@ -0,0 +1,136 @@ +#!/bin/bash + + +###################################### +#### Default Vars #################### +###################################### + +user_groups="" +default_groups=(users disk network floppy fuse video lp tty audio cdrom halusers scanner admin) + +# 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 de l'utilisateur: " + read name + echo -n "Description de l'utilisateur: " + 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 "Nom de l'utilisateur: " + read name + fi + if [ $ret -eq 3 ]; then + echo -n "Description de l'utilisateur: " + 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/aaabasicfs/profile b/aaabasicfs/profile new file mode 100644 index 000000000..96b7d6deb --- /dev/null +++ b/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/aaabasicfs/rc b/aaabasicfs/rc new file mode 100755 index 000000000..81736e9f5 --- /dev/null +++ b/aaabasicfs/rc @@ -0,0 +1,112 @@ +#!/bin/sh +######################################################################## +# Begin $rc_base/init.d/rc +# +# Description : Main Run Level Control Script +# +# Authors : Gerard Beekmans - gerard@linuxfromscratch.org +# +# Version : 00.00 +# +# Notes : +# +######################################################################## + +. /etc/sysconfig/rc +. ${rc_functions} + +stty sane + +trap "" INT QUIT TSTP + +[ "${1}" != "" ] && runlevel=${1} + +splashy_update_progress(){ + STEPS_DIR=/etc/splashy/steps_dir + [ -r "/etc/default/splashy" ] && . "/etc/default/splashy" + SPL_UPD=/sbin/splashy_update + SPL_PRG=$STEPS_DIR/${runlevel}-progress + # load some default variables + if ! ( pidof splashy > /dev/null ); then + /sbin/splashy boot 2>/dev/null + sleep 1 + else + PER=`sed -n 's+'${1}' ++ p' $SPL_PRG` + $SPL_UPD "progress $PER" + fi +} + +if [ "${runlevel}" = "" ]; then + echo "Usage: ${0} <runlevel>" >&2 + exit 1 +fi + +previous=${PREVLEVEL} +[ "${previous}" = "" ] && previous=N + +if [ ! -d ${rc_base}/rc${runlevel}.d ]; then + boot_mesg "${rc_base}/rc${runlevel}.d does not exist." ${WARNING} + boot_mesg_flush + exit 1 +fi +# Attempt to stop all service started by previous runlevel, +# and killed in this runlevel +if [ "${previous}" != "N" ]; then + for i in $(ls -v ${rc_base}/rc${runlevel}.d/K* 2> /dev/null) + do + check_script_status + + suffix=${i#$rc_base/rc$runlevel.d/K[0-9][0-9]} + prev_start=$rc_base/rc$previous.d/S[0-9][0-9]$suffix + sysinit_start=$rc_base/rcsysinit.d/S[0-9][0-9]$suffix + + if [ "${runlevel}" != "0" ] && [ "${runlevel}" != "6" ]; then + if [ ! -f ${prev_start} ] && [ ! -f ${sysinit_start} ]; then + boot_mesg -n "WARNING:\n\n${i} can't be" ${WARNING} + boot_mesg -n " executed because it was not" + boot_mesg -n " not started in the previous" + boot_mesg -n " runlevel (${previous})." + boot_mesg "" ${NORMAL} + boot_mesg_flush + continue + fi + fi + ${i} stop + error_value=${?} + + if [ "${error_value}" != "0" ]; then + print_error_msg + fi + done +fi + +#Start all functions in this runlevel +for i in $( ls -v ${rc_base}/rc${runlevel}.d/S* 2> /dev/null) +do + if [ "${previous}" != "N" ]; then + suffix=${i#$rc_base/rc$runlevel.d/S[0-9][0-9]} + stop=$rc_base/rc$runlevel.d/K[0-9][0-9]$suffix + prev_start=$rc_base/rc$previous.d/S[0-9][0-9]$suffix + + [ -f ${prev_start} ] && [ ! -f ${stop} ] && continue + fi + + check_script_status + + case ${runlevel} in + 0|6) + [ -f /sbin/splashy ] && splashy_update_progress ${i} + ${i} stop + ;; + *) + [ -f /sbin/splashy ] && splashy_update_progress ${i} + ${i} start + ;; + esac + error_value=${?} + + if [ "${error_value}" != "0" ]; then + print_error_msg + fi +done +# End $rc_base/init.d/rc diff --git a/aaabasicfs/readline.sh b/aaabasicfs/readline.sh new file mode 100644 index 000000000..816d7c102 --- /dev/null +++ b/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/aaabasicfs/unmask.sh b/aaabasicfs/unmask.sh new file mode 100644 index 000000000..9a3f8243d --- /dev/null +++ b/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 |