diff options
Diffstat (limited to 'scripts/build/chroot_sysv-rc')
-rwxr-xr-x | scripts/build/chroot_sysv-rc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/build/chroot_sysv-rc b/scripts/build/chroot_sysv-rc index 2c4ccd252..01a95233d 100755 --- a/scripts/build/chroot_sysv-rc +++ b/scripts/build/chroot_sysv-rc @@ -24,14 +24,12 @@ Init_config_data "${@}" # Requiring stage file Require_stagefile config bootstrap -STAGE_FILE="chroot_sysv-rc" - case "${1}" in install) Echo_message "Configuring file /usr/sbin/policy-rc.d" # Checking stage file - Check_stagefile "${STAGE_FILE}" + Check_stagefile # Acquire lock file Acquire_lockfile @@ -52,7 +50,7 @@ EOF chmod 0755 chroot/usr/sbin/policy-rc.d # Creating stage file - Create_stagefile "${STAGE_FILE}" + Create_stagefile ;; remove) @@ -71,7 +69,7 @@ EOF fi # Removing stage file - Remove_stagefile "${STAGE_FILE}" + Remove_stagefile ;; *) |