File: sysconfig-find

package info (click to toggle)
dconf 0.5.1-2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 232 kB
  • ctags: 49
  • sloc: python: 382; makefile: 86; sh: 34
file content (3 lines) | stat: -rwxr-xr-x 162 bytes parent folder | download | duplicates (3)
1
2
3
#!/bin/bash

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