| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
CONFIG_FILE=/etc/multipath.conf |
| 4 |
|
| 5 |
exec >&3 |
| 6 |
|
| 7 |
if [ -e "$CONFIG_FILE" ]; then |
| 8 |
printf "Contents of $CONFIG_FILE:\n" |
| 9 |
grep -Ev "^([[:space:]]*#|$)" $CONFIG_FILE |
| 10 |
else |
| 11 |
printf "$CONFIG_FILE does not exist.\n" |
| 12 |
fi |
| 13 |
|
| 14 |
printf "\n" |
| 15 |
|