projects
/
grml-autoconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Execute config_homedir() only if home-bootoption is set
[grml-autoconfig.git]
/
autoconfig.functions
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
f6d99b3
..
e0c6cc5
100755
(executable)
--- a/
autoconfig.functions
+++ b/
autoconfig.functions
@@
-1287,6
+1287,7
@@
fi
# {{{ Check for persistent homedir option and eventually mount /home from there, or use a loopback file.
config_homedir(){
# {{{ Check for persistent homedir option and eventually mount /home from there, or use a loopback file.
config_homedir(){
+if checkbootparam home ; then
HOMEDIR="$(getbootparam home)"
MYHOMEDEVICE=""
MYHOMEMOUNTPOINT=""
HOMEDIR="$(getbootparam home)"
MYHOMEDEVICE=""
MYHOMEMOUNTPOINT=""
@@
-1360,6
+1361,7
@@
$(cat /proc/mounts)
EOT
fi
fi
EOT
fi
fi
+fi # checkbootparam home
}
# }}}
}
# }}}