nmhw-auto-part: Now prints a small help message when the script finishes.

BugzID:54512

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
This commit is contained in:
Lucien Mueller 2018-12-10 16:49:21 +01:00 committed by Gogs
parent 7235d88103
commit a67e0803aa
1 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,7 @@ device_available(){
partn_first=${partdevice_first: -1}
if (( $partn_first > 1 )) ; then
echo "Device $device has already too many partitions."
echo "It seems like $device is already partitioned."
echo "Please use this script only once."
exit 1
else
@ -301,6 +302,13 @@ execute(){
echo "Partitioning successful."
echo "Partitioning successful." >> /tmp/log/nmhw-auto-part.log
echo "A new partition is now available and mounted on /mnt."
if [ "$ptype" == "overlay" ] ; then
echo "There is now an overlay mounted over /usr."
echo "/usr is now writeable."
echo "All changes to /usr are now saved under /mnt/overlay."
fi
}
usage(){