Changeset 1640 for trunk/locker


Ignore:
Timestamp:
Sep 11, 2010, 5:06:40 PM (14 years ago)
Author:
achernya
Message:
Changed /bin/bash to /bin/sh and mailx to mail for rpm sync as suggested by geofft and quentin
Location:
trunk/locker/sbin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/locker/sbin/rpm-master.sh

    r1639 r1640  
    1 #!/bin/bash
     1#!/bin/sh
    22
    33echo "Entering correct directory..."
     
    3030if [ `grep -c -v "missing" missing.rpms` -gt 0 ]; then
    3131    echo "Sending email..."
    32     cat missing.rpms | mailx -s "scripts.mit.edu servers are out of sync" root@scripts.mit.edu
     32    cat missing.rpms | mail -s "scripts.mit.edu servers are out of sync" root@scripts.mit.edu
    3333else
    3434    echo "No email needs to be sent! scripts.mit.edu is up to date."
  • trunk/locker/sbin/rpmlist.sh

    r1639 r1640  
    1 #!/bin/bash
     1#!/bin/sh
    22
    33copyTo='/mit/scripts/cron_scripts/rpm-sync/'
Note: See TracChangeset for help on using the changeset viewer.