Fix bug
This commit is contained in:
parent
5c52acf20a
commit
5185fff59a
|
@ -65,7 +65,12 @@ apply () {
|
|||
info "Adding $OPTION to fstab"
|
||||
add_option_to_fstab $PARTITION $OPTION
|
||||
info "Remounting $PARTITION from fstab"
|
||||
remount_partition $PARTITION
|
||||
is_mounted $PARTITION
|
||||
if [ $FNRET = 1 ]; then
|
||||
mount $PARTITION
|
||||
else
|
||||
remount_partition $PARTITION
|
||||
fi
|
||||
elif [ $FNRET = 3 ]; then
|
||||
info "Remounting $PARTITION from systemd"
|
||||
add_option_to_systemd $SERVICEPATH $OPTION $SERVICENAME
|
||||
|
|
Loading…
Reference in New Issue