Unverified Commit bf738e0e authored by Michal Hrusecky's avatar Michal Hrusecky 🐉

fixup! Make sure CLI override overrides even config

parent b675ad18
......@@ -41,7 +41,9 @@ if [ -n "`which uci 2> /dev/null`" ]; then
GPG_PASS="` uci get schnapps.encrypt.pass 2> /dev/null`"
fi
[ \! -f /etc/schnapps/config ] || . /etc/schnapps/config
if [ -f /etc/schnapps/config ]; then
. /etc/schnapps/config
fi
if [ "x$1" == "x-d" ]; then
ROOT_DEV="$(btrfs fi show $2 | sed -n 's|.*\(/dev/[^[:blank:]]*\)$|\1|p')"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment