0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00
This commit is contained in:
Eelco Dolstra 2014-03-18 15:13:11 +01:00
parent ab7a8abd58
commit 08095f97ce

View file

@ -131,9 +131,8 @@ if ! mountpoint -q /run; then
mount -t tmpfs -o "mode=0755,size=@runSize@" none /run mount -t tmpfs -o "mode=0755,size=@runSize@" none /run
fi fi
# Create a ramfs on /run/keys to hold secrets that shouldn't # Create a ramfs on /run/keys to hold secrets that shouldn't be
# be written to disk (generally used for nixops, harmless # written to disk (generally used for NixOps, harmless elsewhere).
# elsehwere)
if ! mountpoint -q /run/keys; then if ! mountpoint -q /run/keys; then
rm -rf /run/keys rm -rf /run/keys
mkdir -m 0750 /run/keys mkdir -m 0750 /run/keys