From 7e5fcf712bb4b837d75f684a85fe57f1c4a46a15 Mon Sep 17 00:00:00 2001 From: jonas Date: Wed, 2 Aug 2006 21:51:03 +0000 Subject: Check /etc/shadow (not /etc/passwd) for already configured or not. git-svn-id: svn+ssh://xayide/home/jonas/private_svn/fleshybrid/homebase@28 8f53b18a-e215-0410-8885-9f593d34873e --- 3_configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3_configure.sh b/3_configure.sh index 558df99..8abbda9 100755 --- a/3_configure.sh +++ b/3_configure.sh @@ -9,7 +9,7 @@ set -e . ./functions || exit 1 # Check if already installed -if ! ./chroot.sh grep -q 'root::' "/etc/passwd"; then +if ! ./chroot.sh grep -q 'root::' "/etc/shadow"; then echo 'ERROR: rootfd already (halfway?) configured!' >&2 exit 1 fi -- cgit v1.2.3