Changeset 2378 in MondoRescue for branches/2.2.10/mindi/rootfs/sbin/post-init


Ignore:
Timestamp:
Sep 9, 2009, 6:21:15 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Suppress useless tests for mondorestore being a link
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/rootfs/sbin/post-init

    r2329 r2378  
    3131fi
    3232
    33 if [ -h "`which mondorestore`" ] ; then
    34     LogIt "Turning mondorestore from a hyperlink into an executable"
    35     cat `which mondorestore` > /usr/bin/MR
    36 # in case there's more than one instance :)
    37     rm -f `which mondorestore 2> /dev/null`
    38     rm -f `which mondorestore 2> /dev/null`
    39     rm -f `which mondorestore 2> /dev/null`
    40     rm -f `which mondorestore 2> /dev/null`
    41     mv /usr/bin/MR /usr/bin/mondorestore
    42     chmod +x /usr/bin/mondorestore
    43 fi
    44 
    4533if which bootstrap > /dev/null 2> /dev/null ; then
    4634    LogIt "Calling bootstrap script" 1
     
    4836fi
    4937
    50 for i in mount-me unmount-me mondorestore ; do
     38for i in mount-me unmount-me ; do
    5139    if which $i > /dev/null 2> /dev/null ; then
    5240        LogIt "$i found"
Note: See TracChangeset for help on using the changeset viewer.