mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 15:21:37 +03:00
01349f5d01
/dev/mem isn't necessarily available. Recently, I've encountered arm64 systems that didn't provide raw memory access via /dev/mem. Instead, let's use /dev/kmsg since we don't support systems w/o it anyway.
8 lines
128 B
Desktop File
8 lines
128 B
Desktop File
[Unit]
|
|
Description=Test for PrivateDev=no
|
|
|
|
[Service]
|
|
ExecStart=/bin/sh -x -c 'test -c /dev/kmsg'
|
|
Type=oneshot
|
|
PrivateDevices=no
|