diff options
| author | Jonathan Bauer | 2013-06-06 13:24:44 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2013-06-06 13:24:44 +0200 |
| commit | 03f231da39ea9d0eeb7ea4dfab249481a477d935 (patch) | |
| tree | befb3041613707e4b42ada66abc2d2513a23f65e | |
| parent | [setup_target] add kernel cleaning (with confirmation\!) (diff) | |
| download | tm-scripts-03f231da39ea9d0eeb7ea4dfab249481a477d935.tar.gz tm-scripts-03f231da39ea9d0eeb7ea4dfab249481a477d935.tar.xz tm-scripts-03f231da39ea9d0eeb7ea4dfab249481a477d935.zip | |
[setup_target] kernel cleaner: add some pinfos
| -rwxr-xr-x | remote/setup_target | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/remote/setup_target b/remote/setup_target index 2f10b373..08e31f5d 100755 --- a/remote/setup_target +++ b/remote/setup_target @@ -317,6 +317,7 @@ clean_kernel_module() { pinfo "It will take a long time to rebuild, are you sure? [y/N]" read USER_INPUT if [ "x$USER_INPUT" == "xy" ]; then + pinfo "Confirmed, going on..." # clean kernel module cd "${TARGET_DIR}/kernel" || perror "Could not cd to ${TARGET_DIR}/kernel" if [ -e build ]; then @@ -338,5 +339,8 @@ clean_kernel_module() { if [ -e ksrc ]; then unlink ksrc || perror "Could not unlink ${TARGET_DIR}/kernel/ksrc." fi + else + pinfo "Not confirmed, not cleaning kernel module." fi + pinfo "Done cleaning kernel." } |
