- cat /etc/sysconfig/rawdevices | egrep -v '^ *#' | while read RAW BLOCK; do
- if [ -n "$RAW" -a -n "$BLOCK" ]; then
- if [ "`dirname $RAW`" = "/dev" -a -d /dev/raw ]; then
- echo $" Please correct your /etc/sysconfig/rawdevices:"
- echo $" rawdevices are now located in the directory /dev/raw/ "
- echo $" If the command 'raw' still refers to /dev/raw as a file."
- echo $" you'll have to upgrade your util-linux package"
- exit 0
- fi
- if [ "`dirname $RAW`" = "/dev/raw" -a -f /dev/raw ]; then
- echo $" Please correct your /etc/sysconfig/rawdevices:"
- echo $" rawdevices are now located in the directory /dev/raw/ "
- echo $" If the command 'raw' still refers to /dev/raw as a file."
- echo $" you'll have to upgrade your util-linux package"
- exit 0
- fi
+ cat /etc/sysconfig/rawdevices | egrep -v '^ *#' | while read RAW BLOCK; do
+ if [ -n "$RAW" -a -n "$BLOCK" ]; then
+ if [ "`dirname $RAW`" = "/dev" -a -d /dev/raw ]; then
+ nls " Please correct your /etc/sysconfig/rawdevices:"
+ nls " rawdevices are now located in the directory /dev/raw/ "
+ nls " If the command 'raw' still refers to /dev/raw as a file."
+ nls " You'll have to upgrade your util-linux package"
+ exit 0
+ fi
+ if [ "`dirname $RAW`" = "/dev/raw" -a -f /dev/raw ]; then
+ nls " Please correct your /etc/sysconfig/rawdevices:"
+ nls " rawdevices are now located in the directory /dev/raw/ "
+ nls " If the command 'raw' still refers to /dev/raw as a file."
+ nls " You'll have to upgrade your util-linux package"
+ exit 0
+ fi