2
# Copyright © 2005-2007 Roger Leigh <rleigh@debian.org>
4
# schroot is free software; you can redistribute it and/or modify it
5
# under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 2 of the License, or
7
# (at your option) any later version.
9
# schroot is distributed in the hope that it will be useful, but
10
# WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
# General Public License for more details.
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
19
if [ -f "$CHROOT_SCRIPT_CONFIG" ]; then
20
. "$CHROOT_SCRIPT_CONFIG"
23
if [ "$AUTH_VERBOSITY" = "verbose" ]; then
27
if [ $1 = "setup-start" ] || [ $1 = "setup-recover" ]; then
28
cp $VERBOSE /etc/passwd "${CHROOT_PATH}/etc/passwd"
29
cp $VERBOSE /etc/shadow "${CHROOT_PATH}/etc/shadow"
30
cp $VERBOSE /etc/group "${CHROOT_PATH}/etc/group"