Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Kickstart | 6 comments | Create New Account
Click here to return to the 'Kickstart' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Kickstart
Authored by: extra88 on Sep 20, '04 04:17:50PM

I'm not sure why you have to remove every bit of ARD before cloning anyway but why can't you see the kickstart script?

Here it is ('locate' is a handy command):
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart

It's a perl script. Parts are a bit dense but it's very well commented.

FYI for ARD 1.2.4 the script is in /System/Library/CoreServices/ARD Agent.app/Contents/Resources/kickstart



[ Reply to This | # ]
Kickstart
Authored by: ThaAnomaly on Sep 20, '04 08:41:29PM

I ran this script and it did not remove the Remote Desktop. Could someone help me out with this?



[ Reply to This | # ]
Listing of components
Authored by: koncept on Sep 20, '04 11:19:05PM
This method is non-destructive and leaves it up to the user to remove necessary components. It finds these via reading the ARD bom files.

#!/bin/bash
##
# ARD 2.0 component finding script
#
# NOTICE: This does not remove files. It meerly
# builds a list of files and directories specified
# in the bill of materials file for ARD. Use the file
# as a guide to remove necessary components on your own.
##
BASE="/Library/Receipts"


declare -a BOMS=( 
   "$BASE/RemoteDesktopAdmin200.pkg" 
   "$BASE/RemoteDesktopClient200.pkg"
   "$BASE/RemoteDesktopRMDB733.pkg" 
)

if [ $USER != "root" ]; then
   echo "Usage: sudo ${0##*/}"
   exit 1
else
   sudo /bin/rm -f /tmp/bomPurge* 2>/dev/null
fi

echo "Building package contents listing.." && echo

LOG="/tmp/bomPurge.$$"

for PKG in ${BOMS[@]}; do
   if [ -e $PKG ];then
      echo "<< Searching for BOM archives within: $PKG"
      for BOM in $(find $PKG -name '*bom' -type f -print); do
         echo ">> Reading BOM contents: $BOM"
         touch $LOG
         sudo lsbom -s -p F $BOM >> $LOG
      done
   fi
done

if [ -f $LOG ]; then 
   chown $USER:staff $LOG
   open -e $LOG
fi

echo
echo "Complete. Be careful what you choose to remove."
echo "If you are not sure, ask somebody else. :)"

exit 0


[ Reply to This | # ]