File raw.service of Package util-linux
18
1
[Unit]
2
Description=raw devices
3
After=local-fs.target remote-fs.target
4
5
[Service]
6
Type=oneshot
7
ExecStart=/bin/sh -c "\
8
/sbin/modprobe raw;\
9
/sbin/udevadm settle;\
10
for i in `grep -v ^# /etc/raw`; do\
11
rawdev=`echo $i | cut -f1 -d:`;\
12
rawbind=`echo $i | cut -f2- -d:`;\
13
/usr/sbin/raw /dev/raw/$rawdev /dev/$rawbind;\
14
done"
15
16
[Install]
17
WantedBy=multi-user.target
18