diff options
Diffstat (limited to 'scripts/build/chroot_hosts')
-rwxr-xr-x | scripts/build/chroot_hosts | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/scripts/build/chroot_hosts b/scripts/build/chroot_hosts index edbcb3793..d7e97fa70 100755 --- a/scripts/build/chroot_hosts +++ b/scripts/build/chroot_hosts @@ -31,11 +31,8 @@ case "${1}" in # Checking stage file Check_stagefile .build/chroot_hosts - # Checking lock file - Check_lockfile .lock - - # Creating lock file - Create_lockfile .lock + # Aquire lock file + Acquire_lockfile if [ -f chroot/etc/hosts ] then @@ -64,11 +61,8 @@ EOF remove) Echo_message "Deconfiguring file /etc/hosts" - # Checking lock file - Check_lockfile .lock - - # Creating lock file - Create_lockfile .lock + # Aquire lock file + Acquire_lockfile if [ -e config/includes.chroot/etc/hosts ] then |