"Fossies" - the Fresh Open Source Software Archive

Member "checksuite-3.3/install.sh" (3 Jun 2010, 1935 Bytes) of package /linux/privat/checksuite-3.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 # Installation of checksuite - Larry Long <larry@djslyde.com>
    3 
    4 /bin/echo "*** Installation Start"
    5 /bin/echo " "
    6 
    7 /bin/echo "*** Installing configurations and man page..."
    8 install -m 644 checksuite.cron /etc/cron.d
    9 install -m 644 checksuite /etc/logrotate.d
   10 install -m 644 checksuite.1 /usr/man/man1
   11 gzip -9 /usr/man/man1/checksuite.1
   12 /bin/echo " "
   13 
   14 /bin/echo "*** Installing prgrams..."
   15 install -m 755 checkload /usr/local/sbin
   16 install -m 755 checkswap /usr/local/sbin
   17 install -m 755 checkdisk /usr/local/sbin
   18 install -m 755 checkinodes /usr/local/sbin
   19 install -m 755 checksecurity /usr/local/sbin
   20 install -m 755 checksyn /usr/local/sbin
   21 install -m 755 checkhardware /usr/local/sbin
   22 install -m 755 checklinks /usr/local/sbin
   23 install -m 755 checkzombie /usr/local/sbin
   24 /bin/echo " "
   25 
   26 /bin/echo "*** Creating log files in /var/log/checksuite.d..."
   27 mkdir -p /var/log/checksuite.d
   28 touch /var/log/checksuite.d/checkdisk
   29 touch /var/log/checksuite.d/checkhardware
   30 touch /var/log/checksuite.d/checkinodes
   31 touch /var/log/checksuite.d/checklinks
   32 touch /var/log/checksuite.d/checkload
   33 touch /var/log/checksuite.d/checksecurity
   34 touch /var/log/checksuite.d/checkswap
   35 touch /var/log/checksuite.d/checksyn
   36 touch /var/log/checksuite.d/checkzombie
   37 /bin/echo " "
   38 
   39 /bin/echo "*** Verifying each programs compatibility..."
   40 /usr/bin/perl -c /usr/local/sbin/checkload
   41 /usr/bin/perl -c /usr/local/sbin/checkswap
   42 /usr/bin/perl -c /usr/local/sbin/checkdisk
   43 /usr/bin/perl -c /usr/local/sbin/checkinodes
   44 /usr/bin/perl -c /usr/local/sbin/checklinks
   45 /usr/bin/perl -c /usr/local/sbin/checksecurity
   46 /usr/bin/perl -c /usr/local/sbin/checksyn
   47 /usr/bin/perl -c /usr/local/sbin/checkhardware
   48 /usr/bin/perl -c /usr/local/sbin/checkzombie
   49 /bin/echo " "
   50 
   51 /bin/echo "*** Installation Complete of [checksuite]"
   52 /bin/echo "*** Please run 'man checksuite' for any additional information!"
   53 /bin/echo "*** Thank you for your support! - Larry Long <larry@djslyde.com>"
   54