]> git.pld-linux.org Git - packages/util-linux.git/blobdiff - rawdevices.init
- orphaned, outdated
[packages/util-linux.git] / rawdevices.init
index da7f01889d85d17987e37c90856988dbbd66ad70..b05680665c4704f9b4960561f863a6d2df7b6689 100644 (file)
@@ -25,8 +25,8 @@ PATH=/usr/bin:/bin:/usr/sbin:/sbin
 
 function assign_raw()
 {
-       cat /etc/sysconfig/rawdevices | egrep -v '^ *#' | while read RAW BLOCK; do 
-       if [ -n "$RAW" -a -n "$BLOCK" ]; then 
+       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/ "
@@ -42,7 +42,7 @@ function assign_raw()
                        exit 0
                fi
 
-               show $(nls "Assigning device: %s --> %s" "$RAW" "$BLOCK")
+               show "$(nls "Assigning device: %s --> %s" "$RAW" "$BLOCK")"
                busy
                raw $RAW $BLOCK > /dev/null
                ok
@@ -75,7 +75,7 @@ case "$1" in
        ;;
   status)
        ID=`id -u`
-       if [ $ID -eq 0 ]; then 
+       if [ $ID -eq 0 ]; then
                raw -qa
        else
                # don't remove the space at the end!!!
This page took 0.023265 seconds and 4 git commands to generate.