Skip to content

Commit

Permalink
Update crypto-sdcard.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Olf0 authored Oct 19, 2018
1 parent 5b9da7c commit 5c15797
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rpm/crypto-sdcard.spec
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ then rm -f \
%{_sysconfdir}/systemd/system/crypto-sd-plain@.service \
%{_sysconfdir}/systemd/system/crypto-sd-plain-udisks@.service \
%{_sysconfdir}/systemd/system/crypto-sd-symlink@.service
# Create directory for "key"-files?
# Create directory for "key"-files:
if [ ! -e %{_sysconfdir}/%{name} ]
then mkdir %{_sysconfdir}/%{name} && \
chown root:root %{_sysconfdir}/%{name} && \
chmod 0640 %{_sysconfdir}/%name}
chmod 0640 %{_sysconfdir}/%name} && \
chown root:root %{_sysconfdir}/%{name}
fi
fi

Expand Down

0 comments on commit 5c15797

Please sign in to comment.