Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 05-27-2006, 12:15 AM
jaimev jaimev is offline
Registered User
 
Join Date: May 2006
Posts: 2
Thanks for the shell script. The line...

Code:
chflags nouchg /Volumes/A/System/Library/CoreServices/BootX;
gave permissions problems for me when I tried executing that script.

What ended up working, though was the following Applescript, which is called by a shell script, which is called by Super Duper

The Applescript:

Code:
tell application "Finder" to exists disk "iMac"

--change the boot volume and restart if the result is true

if the result then do shell script "/usr/sbin/bless -folder '/Volumes/iMac/System/Library/CoreServices' -setOF;/sbin/shutdown -r now" password "admin_password" with administrator privileges --put your admin password in for "admin_password", otherwise it will use a pop up dialog to ask the password.
And the shell script that calls it:

Code:
#! /bin/sh

osascript /Volumes/A010/Users/jaimev/Documents/boot-from-Imac-app.app
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
First Boot Experience, Seagate 400GB PushButton FW Works! greenjeens General 5 05-25-2006 07:19 AM
Copy script - Define a 'folder' as a 'target drive'? mortenosx General 3 03-22-2006 01:21 PM
Source HD won't boot after canceled Backup enderws General 3 03-04-2006 04:02 PM
BackUp hangs at 3% JimK General 10 09-27-2005 09:48 AM
Error: No space left on device tradervic General 11 06-29-2005 04:50 PM


All times are GMT -4. The time now is 08:18 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.