diff options
Diffstat (limited to 'scripts/build/chroot_sysfs')
-rwxr-xr-x | scripts/build/chroot_sysfs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/build/chroot_sysfs b/scripts/build/chroot_sysfs index e6e26a35e..7d0e38cf3 100755 --- a/scripts/build/chroot_sysfs +++ b/scripts/build/chroot_sysfs @@ -18,13 +18,16 @@ set -e DESCRIPTION="Mount /sys" 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 /sys..." @@ -64,6 +67,7 @@ case "${1}" in ;; *) + Echo_error "Invalid action parameter: '${_ACTION}'" Usage --fail ;; esac |