projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mise à jour script de backup pour archiver correctement avec tar.
[hvlinux.git]
/
stage2
/
post-install
diff --git
a/stage2/post-install
b/stage2/post-install
index
fba81f2
..
fb6c992
100755
(executable)
--- a/
stage2/post-install
+++ b/
stage2/post-install
@@
-1,9
+1,6
@@
#!/bin/bash
#!/bin/bash
-# Reading system configuration informations, functions and package versions.
-source ../config/sysinfos
-source ../functions
-source ../config/packages-list
+source ../functions/main
cat > /etc/default/useradd << "EOF"
# useradd defaults file
cat > /etc/default/useradd << "EOF"
# useradd defaults file
@@
-18,7
+15,7
@@
EOF
chmod -v 644 /etc/default/useradd
if [ -n "${REGUSER}" ]; then
chmod -v 644 /etc/default/useradd
if [ -n "${REGUSER}" ]; then
- hv_useradd -g users -G audio,video,
usb
-s /bin/bash -m ${REGUSER}
+ hv_useradd -g users -G audio,video,
cdrom,usb,shutdown
-s /bin/bash -m ${REGUSER}
fi
echo "Copying /etc/skel files to root directory"
fi
echo "Copying /etc/skel files to root directory"