forked from pool/util-linux
13a5039daf
1 OBS-URL: https://build.opensuse.org/request/show/457450 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=216
18 lines
367 B
Desktop File
18 lines
367 B
Desktop File
[Unit]
|
|
Description=raw devices
|
|
After=local-fs.target remote-fs.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/bin/sh -c "\
|
|
/sbin/modprobe raw;\
|
|
/sbin/udevadm settle;\
|
|
for i in `grep -v ^# /etc/raw`; do\
|
|
rawdev=`echo $i | cut -f1 -d:`;\
|
|
rawbind=`echo $i | cut -f2- -d:`;\
|
|
/usr/sbin/raw /dev/raw/$rawdev /dev/$rawbind;\
|
|
done"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|