diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-05-21 20:00:58 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-21 20:00:58 +0200 |
commit | 8f33b5b8b3e85f9c3b00eb004e601f7a72fa6461 (patch) | |
tree | d9166ff2738a5ceeb09beb988652a81eeb1ee83b /src/hostname | |
parent | 2660882b52ae1a5d97a2344633a999d88a3cd45b (diff) |
util: rework in_initrd() logic
Checking the device major/minor is not a good idea. Let's replace this
with an explicit flag file, which we model after /etc/os-release and
call /etc/initrd-release.
Diffstat (limited to 'src/hostname')
0 files changed, 0 insertions, 0 deletions