Changed files:
rawdevices.init -> 1.5
util-linux-blockdev.init -> 1.3
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/ "
;;
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!!!
#
# chkconfig: 2345 01 99
# description: blockdev
-#
+#
# processname: blockdev
-# config:
+# config:
# pidfile:
# Source function library.
# Stop daemons.
if [ ! -f /var/lock/subsys/blockdev ]; then
msg_not_running blockdev
- fi
+ fi
rm -f /var/lock/subsys/blockdev
;;
restart|force-reload)