"Fossies" - the Fresh Open Source Software Archive

Member "dconf-0.5.1/scripts/sysconfig-find" (28 Feb 2006, 162 Bytes) of package /linux/privat/old/dconf-0.5.1.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/bash
    3 for sysv in /etc/init.d/*; do pkg="$(rpm -qf $sysv)"; echo "===$pkg==="; grep '/etc/sysconfig/' $sysv | grep -v '/etc/sysconfig/network'; echo; done