diff options
Diffstat (limited to 'scripts/build/chroot_devpts')
-rwxr-xr-x | scripts/build/chroot_devpts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/build/chroot_devpts b/scripts/build/chroot_devpts index 4a5a13a94..cc1e31321 100755 --- a/scripts/build/chroot_devpts +++ b/scripts/build/chroot_devpts @@ -18,13 +18,16 @@ set -e DESCRIPTION="Mount /dev/pts" USAGE="${PROGRAM} {install|remove} [--force]" +_ACTION="${1}" +shift + # Processing arguments and configuration files Init_config_data "${@}" # Requiring stage file Require_stagefiles config bootstrap -case "${1}" in +case "${_ACTION}" in install) Echo_message "Begin mounting /dev/pts..." @@ -66,6 +69,7 @@ case "${1}" in ;; *) + Echo_error "Invalid action parameter: '${_ACTION}'" Usage --fail ;; esac |