diff options
Diffstat (limited to 'scripts/build/chroot_sysfs')
-rwxr-xr-x | scripts/build/chroot_sysfs | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/scripts/build/chroot_sysfs b/scripts/build/chroot_sysfs index 7882a13d5..2742aacc4 100755 --- a/scripts/build/chroot_sysfs +++ b/scripts/build/chroot_sysfs @@ -31,11 +31,8 @@ case "${1}" in # Checking stage file Check_stagefile .build/chroot_sysfs - # Checking lock file - Check_lockfile .lock - - # Creating lock file - Create_lockfile .lock + # Aquire lock file + Acquire_lockfile # Create mountpoint mkdir -p chroot/sys @@ -50,11 +47,8 @@ case "${1}" in remove) Echo_message "Begin unmounting /sys..." - # Checking lock file - Check_lockfile .lock - - # Creating lock file - Create_lockfile .lock + # Aquire lock file + Acquire_lockfile # Unmounting /sys if [ -e chroot/sys/class ] |