nmhw-auto-part: fixed regular functionality.

BugzID: 55005

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
This commit is contained in:
Lucien Mueller 2019-01-07 11:36:07 +01:00
parent 84eb8da797
commit be97c8d11d
1 changed files with 6 additions and 2 deletions

View File

@ -48,7 +48,7 @@ rootsize_ok(){
type_available(){
local ptype=$1
case "$ptype" in
"data")
"regular")
return 0
;;
"overlay")
@ -275,6 +275,7 @@ execute(){
datapart=$createdPartition
printf "Mounting new partition to /data. "
mkdir -p /data
mount $datapart /data
printf "Done.\n\n"
@ -294,6 +295,9 @@ execute(){
printf "Done.\n\n"
touch /etc/nmhw-auto-part/overlay
;;
"regular")
;;
*)
echo "$ptype is not an option."