- Timestamp:
- Jan 5, 2014, 1:35:28 PM (11 years ago)
- Location:
- branches/3.2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/MondoRescue/Makefile.PL
r3226 r3239 107 107 $text .= "\t".'@echo PBPKG PBVER-rPBREV will be installed under $(DESTDIR)'."\n"; 108 108 $text .= "\t".'install -m 755 -d $(DESTDIR)'."$confdir/PBPROJ".' $(DESTDIR)'."$cachedir/PBPROJ".' $(DESTDIR)'."$sharedir/PBPROJ\n"; 109 $text .= "\t".'cp etc/PBPROJ.conf $(DESTDIR)'."$confdir/PBPROJ/PBPROJ.conf.dist ; install -m 755 -d ".' $(DESTDIR)'."$mandir/man5 ; p od2man etc/PBPROJ.conf> ".'$(DESTDIR)'."$mandir/man5/PBPROJ.conf.5\n";109 $text .= "\t".'cp etc/PBPROJ.conf $(DESTDIR)'."$confdir/PBPROJ/PBPROJ.conf.dist ; install -m 755 -d ".' $(DESTDIR)'."$mandir/man5 ; perl -p -e 's/^# //; s/^#//' etc/PBPROJ.conf | pod2man --name=PBPROJ.conf --release=PBVER-rPBREV --section=5 > ".'$(DESTDIR)'."$mandir/man5/PBPROJ.conf.5\n"; 110 110 $text .= "\t".'md5sum $(DESTDIR)'."$confdir/PBPROJ/PBPROJ.conf.dist > ".'$(DESTDIR)'."$confdir/PBPROJ/PBPROJ.conf.dist.md5\n"; 111 111 $text .= "\t".'if [ ! -f "'.'$(DESTDIR)'."$confdir/PBPROJ/PBPROJ.conf".'" ]; then echo "# Local configuration file for Mondorescue" > $(DESTDIR)'."$confdir/PBPROJ/PBPROJ.conf".'; echo "# Adapt content taken from the distribution conf file PBPROJ.conf.dist which should remain untouched" >> $(DESTDIR)'."$confdir/PBPROJ/PBPROJ.conf ; fi\n"; -
branches/3.2/MondoRescue/etc/mondorescue.conf
r3219 r3239 1 # $Id$ 2 # 3 # =pod 4 # 5 # =head1 NAME 6 # 1 7 # MondoRescue configuration file 2 8 # 3 # $Id$9 # =head1 DESCRIPTION 4 10 # 5 # We tried to give sensible defaults in this file. 6 # It will always be loaded by the tools before your other configuration files. 11 # The mondorescue.conf contains the various parameters that can be adapted for MondoRescue usage 12 # 13 # =head1 SYNOPSIS 14 # 15 # We tried to give sensible defaults in this file (mondorescue.conf.dist). 16 # It will always be loaded by the tools before your own configuration files (mondorescue.conf). 17 # 7 18 # DO NOT CHANGE THAT FILE IN ANYWAY AS ITS MD5 SUM IS USED AS A CHECK !! 8 19 # Anyway changing some values in your own configuration file may render 9 20 # MondoRescue tools instable or cause failures. Use with care. 21 # 22 # =head1 CONFIGURATION PARAMETERS 23 # 10 24 25 # =over 4 26 27 # =item B<mr_tmp_dir default> 28 # 11 29 # Temporary directory 30 # 12 31 # Under it a temporary directory will be created to host all 13 # temporary files for mrmini. That subdirectory is erased at the end of mrmini32 # temporary files for MondoRescue tools. That subdirectory is erased at the end of execution 14 33 # 34 # Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here. 35 # Value: Full path of the temporary directory 36 # Example: 15 37 mr_tmp_dir default = /tmp 16 38 39 # =item B<mr_cmdline> 17 40 # 18 # Location of some configuration files41 # Location of the file containing the boot command line for the OS 19 42 # 20 # depends on genre 43 # Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here. 44 # Value: comma separated list of URLs that point to repository files, or packages to install. The values may not include substitutions. 45 # Example: 21 46 mr_cmdline linux = /proc/cmdline 22 47 mr_cmdline bsd = /tmp/cmdline 23 48 # TBC 24 49 mr_cmdline solaris = /proc/cmdline 50 # 51 52 # =item B<TO BE DOCUMENTED LATER> 25 53 # 26 54 mr_etc_fstab default = /etc/fstab … … 64 92 mr_cmd_lvm default = /usr/sbin/lvm 65 93 mr_path_lvm default = /usr/sbin/ 94 95 # =back 96 97 # =head1 COPYRIGHT 98 99 # (c) B. Cornec 2007-2014 100 # 101 # Provided under the Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) Creative Common License 102 103 # =cut -
branches/3.2/mindi/install.sh
r3220 r3239 55 55 fi 56 56 if [ _"$SBINDIR" = _"" ]; then 57 subsbin=$local/sbin 57 58 SBINDIR=$local/sbin 58 59 else 60 subsbin=$SBINDIR 59 61 SBINDIR=${HEAD}$SBINDIR 60 62 fi … … 98 100 install -m 644 $s.8 $MANDIR 99 101 # Generate the list of perl modules needed at restore time for mindi 100 cat > $conf/perl-scripts << EOF101 $ SBINDIR/$s102 cat >> $conf/perl-scripts << EOF 103 $subsbin/$s 102 104 EOF 103 105 done -
branches/3.2/mindi/mindi
r3231 r3239 2641 2641 2642 2642 # Management of perl scripts delivered needed at restore time 2643 mindi-get-perl-modules `cat $MINDI_CONF/perl-scripts` > $MINDI_TMP/perl.lis2643 mindi-get-perl-modules `cat $MINDI_CONF/perl-scripts` /usr/bin/mr-* > $MINDI_TMP/perl.lis 2644 2644 tar cf - `cat $MINDI_TMP/perl.lis` 2>> $MINDI_TMP/$$.log | tar xf - || LogIt "ERROR: Problem in perl scripts analysis" $MINDI_TMP/$$.log 2645 2645
Note:
See TracChangeset
for help on using the changeset viewer.