summaryrefslogtreecommitdiffstats
path: root/base/aaabasicfs
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-20 08:52:01 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-20 08:52:01 +0200
commit9cdee64edf9ae6ed044af7f4c8d06809128697d9 (patch)
treefaf936de885183791fc0eabc504f280dda149368 /base/aaabasicfs
parent358344652b60697c4c78ed6abe14851a30b7cf0c (diff)
downloadnutyx-pakxe-9cdee64edf9ae6ed044af7f4c8d06809128697d9.tar.gz
nutyx-pakxe-9cdee64edf9ae6ed044af7f4c8d06809128697d9.tar.bz2
nutyx-pakxe-9cdee64edf9ae6ed044af7f4c8d06809128697d9.tar.xz
nutyx-pakxe-9cdee64edf9ae6ed044af7f4c8d06809128697d9.zip
Modifier les dossiers pour les dépots
Diffstat (limited to 'base/aaabasicfs')
-rw-r--r--base/aaabasicfs/.footprint2
-rw-r--r--base/aaabasicfs/.md5sum2
-rw-r--r--base/aaabasicfs/Pkgfile2
-rwxr-xr-xbase/aaabasicfs/nu12
4 files changed, 8 insertions, 10 deletions
diff --git a/base/aaabasicfs/.footprint b/base/aaabasicfs/.footprint
index 7289d4024..c667fad6c 100644
--- a/base/aaabasicfs/.footprint
+++ b/base/aaabasicfs/.footprint
@@ -169,8 +169,6 @@ 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/
diff --git a/base/aaabasicfs/.md5sum b/base/aaabasicfs/.md5sum
index fbbb15a11..438fca698 100644
--- a/base/aaabasicfs/.md5sum
+++ b/base/aaabasicfs/.md5sum
@@ -17,7 +17,7 @@ ad457024fe7ad91b8e9e0b4aad87df1f extrapaths.sh
d2d497718127e161a28ef4a9429e29ed lfs-bootscripts-20090523.tar.bz2
a78518513008df089590b10ae3a3cded menu.lst
c90e6466720260c377c89f5aa0c47eca network
-06320e95778c0cc35bdb2cf4c0a17a37 nu
+5478e2141b3d5504cd201b23dcc70531 nu
210fdabd07248f79617508807715167b profile
fa6ce99e0329c7854e0a83d022da6fe3 readline.sh
f76fe3211cbc808c52f5de0fee37eaf7 sysklogd
diff --git a/base/aaabasicfs/Pkgfile b/base/aaabasicfs/Pkgfile
index 975dfbe71..3f61e45f7 100644
--- a/base/aaabasicfs/Pkgfile
+++ b/base/aaabasicfs/Pkgfile
@@ -17,7 +17,7 @@ source=( http://www.linuxfromscratch.org/lfs/downloads/development/$scriptsvers
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}}
+ mkdir -pv $PKG/{dev,proc,sys,bin,boot,etc/{profile.d,opt,skel,default},home,lib,mnt,opt,srv/sources}
chmod 1777 $PKG/srv/sources
mkdir -pv $PKG/{media/{floppy,cdrom,key,dvd},sbin,var}
install -dv -m 0750 $PKG/root
diff --git a/base/aaabasicfs/nu b/base/aaabasicfs/nu
index ceabb6f40..214a019b1 100755
--- a/base/aaabasicfs/nu
+++ b/base/aaabasicfs/nu
@@ -75,9 +75,9 @@ if [ $UID -ne 0 ]; then
fi
if [ $# -lt 2 ]; then
- echo -n "Nom : "
+ echo -n "Nom de l'utilisateur: "
read name
- echo -n "Description : "
+ echo -n "Description de l'utilisateur: "
read description
else
description="$1"
@@ -88,11 +88,11 @@ check_args "$description" "$name"
ret=$?
while [ $ret -ne 0 ]; do
if [ $ret -lt 3 ]; then
- echo -n "Nouveau nom : "
+ echo -n "Nom de l'utilisateur: "
read name
fi
if [ $ret -eq 3 ]; then
- echo -n "Nouvelle description : "
+ echo -n "Description de l'utilisateur: "
read description
fi
if [ "$name" == "!stop!" -o "$description" == "!stop!" ]; then
@@ -110,7 +110,7 @@ while [ -n "${default_groups[i]}" ]; do
else
user_groups="$user_groups,${default_groups[i]}"
fi
- echo "groupes : $user_groups"
+# echo "groupes : $user_groups"
# else
# echo 1>&2 ' Veuillez installez un gestionnaire de fenetre,
# redemarrer la machine dans ce gestionnaire,
@@ -124,7 +124,7 @@ done
echo 1>&2 "
Création de $name.
"
-echo "/usr/sbin/useradd -c ${description} $user_groups -m ${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