Skip to content

Commit

Permalink
obfuscate all variable definitions ening with PW, like LUKSPW, MYOWNP…
Browse files Browse the repository at this point in the history
…W,...
  • Loading branch information
Thomas Lange committed Aug 17, 2017
1 parent 4adf574 commit 4fee815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/subroutines
Expand Up @@ -462,7 +462,7 @@ task_defvar() {
# show only lines with ++, we cannot use a pipe, since it would call
# _devfar in a subprocess. Then, variables are not defined
_defvar $class.var > $svar 2>&1
grep ^++ $svar|sed -e 's/ROOTPW=.*/ROOTPW=XXXXXXXXXXXXX/'
grep ^++ $svar| sed -e 's/\(.*PW\)=.*$/\1=XXXXXXXXXXXXX/'
rm $svar
fi
done
Expand Down

0 comments on commit 4fee815

Please sign in to comment.