From 78c247c7c4e46ad0b437beba51bfbf31c9c7ecaa Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Fri, 31 Aug 2012 14:12:07 +0400 Subject: [PATCH] e4rat-finalize.sh -> e4rat_finalize.sh --- sbin/e4rat_switch.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/e4rat_switch.sh b/sbin/e4rat_switch.sh index d608731..361702d 100755 --- a/sbin/e4rat_switch.sh +++ b/sbin/e4rat_switch.sh @@ -16,9 +16,9 @@ case $1 in /boot/grub/grub.conf && \ echo "remounting /boot -> ro" && \ mount -o remount,ro /boot && \ - echo -e "#/bin/bash\n\n/usr/sbin/e4rat-finalize.sh && rm -f /etc/local.d/e4rat-finalize.start\n" \ - > /etc/local.d/e4rat-finalize.start && \ - chmod 755 /etc/local.d/e4rat-finalize.start + echo -e "#/bin/bash\n\n(/usr/sbin/e4rat_finalize.sh && rm -f /etc/local.d/e4rat_finalize.start)&\n" \ + > /etc/local.d/e4rat_finalize.start && \ + chmod 755 /etc/local.d/e4rat_finalize.start [ 0 -ne $? ] && echo "e4rat_switch.sh $1 failed" && exit -1 ;; preload)