diff options
author | Artturi <Artturin@artturin.com> | 2023-09-09 19:56:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-09 19:56:02 +0300 |
commit | b3e16d6e102b69fd85a170efb243b31f496477a9 (patch) | |
tree | f6bbf978583fa12fce79c279fb010ff16c2f1aaa /nixos/modules/system/boot | |
parent | df123af8b8836fff8eb316d2be3b30c91d237fa4 (diff) | |
parent | f25f2a4209f9f86ce3d795f7531e128476ef9f68 (diff) |
Merge pull request #254166 from Artturin/fixthingy1
Diffstat (limited to 'nixos/modules/system/boot')
-rwxr-xr-x | nixos/modules/system/boot/stage-2-init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-2-init.sh b/nixos/modules/system/boot/stage-2-init.sh index c0af29e3b9909..5a2133f960e2b 100755 --- a/nixos/modules/system/boot/stage-2-init.sh +++ b/nixos/modules/system/boot/stage-2-init.sh @@ -105,7 +105,7 @@ fi # Required by the activation script install -m 0755 -d /etc -if [ -d "/etc/nixos" ]; then +if [ ! -h "/etc/nixos" ]; then install -m 0755 -d /etc/nixos fi install -m 01777 -d /tmp |