Browse Source

Better check if writing ifcfg files is necessary.

master
Warren Togami 16 years ago
parent
commit
08d82be71d
  1. 2
      modules.d/45ifcfg/check

2
modules.d/45ifcfg/check

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
[ -f /etc/redhat-release ] || exit 1 [ -d /etc/sysconfig/network-scripts/ ] || exit 1


[[ $1 = -d ]] && echo network [[ $1 = -d ]] && echo network



Loading…
Cancel
Save