|
Lines 454-462
Link Here
|
| 454 |
# Touching /etc/passwd and /etc/shadow after install can be fatal, as many |
454 |
# Touching /etc/passwd and /etc/shadow after install can be fatal, as many |
| 455 |
# new users do not update them properly... see src_install() for why they |
455 |
# new users do not update them properly... see src_install() for why they |
| 456 |
# are in /usr/share/baselayout/ |
456 |
# are in /usr/share/baselayout/ |
| 457 |
if use build || use bootstrap; then |
457 |
for f in passwd shadow group fstab ; do |
| 458 |
cp ${ROOT}/usr/share/baselayout/{passwd,shadow,group,fstab} ${ROOT}/etc |
458 |
[ -e "${ROOT}/etc/${f}" ] && touch "${ROOT}/etc/${f}" || cp "${ROOT}/usr/share/baselayout/${f}" "${ROOT}/etc/${f}" |
| 459 |
fi |
459 |
done |
| 460 |
|
460 |
|
| 461 |
# Under what circumstances would mtab be a symlink? It would be |
461 |
# Under what circumstances would mtab be a symlink? It would be |
| 462 |
# nice if there were an explanatory comment here |
462 |
# nice if there were an explanatory comment here |