summaryrefslogtreecommitdiff
path: root/modules.d/95dasd/parse-dasd.sh
blob: 4aeecd5d79a64a3464654b6340ab982211398867 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
for dasd_arg in $(getargs rd.dasd 'rd_DASD='); do
    (
        IFS=","
        set $dasd_arg
        echo "$@" >> /etc/dasd.conf
    )
done