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