OS4 DepotLogo by Kicko 
(anonymous IP: 3.15.239.0,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Utility » Script » reboot-sd.lha

Reboot-sd

Description: Reboot-Spindown-Script
Download: reboot-sd.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 45kb
Version: 1.0
Date: 06 Jan 12
Author: Amigo1
Submitter: Amigo1
Email: amigo1one/yahoo com au
Requirements: IDETool
Category: utility/script
License: Other
Distribute: yes
Min OS Version: 4.1
FileID: 6808
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads:  (Current version)
 (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
Short:        Reboot-Spindown Script
Author:       Amigo1
Uploader:     Amigo1
Type:         util/shell
Version:      1.0
Architecture: m68k-amigaos; ppc-amigaos
Replaces:     Reboot-Spindown Script
Requires:     idetool, reboot

Just 2 small scripts to reboot the System or spindown/sleep the Harddrives.

The "Stop-Script" is preset to spin down my two drives connected to a sii0680ide

controller in my AmigaONE.

sii0680ide.device 0  (means harddrive 0/Master) 3 (means put the HardDrive to
sleep)
sii0680ide.device 1  (means harddrive 1/Slave)	5 (means stop the Harddrive)

read the documentation which comes with OS4 about "IDETool" for more deep
information
about your Harddrives and the possible settings.
(SYS:Documentation/IDE/IDETool.doc)


Installation
------------
1) Unpack the Archive to RAM:
2) If needed edit the "Stop-Script" with NotePad or the editor of your choice.
   The strings which need to be changed are between square brakets in the
example
   below:
	ram:idetool -p [sii0680ide.device 0] 3
	ram:idetool -p [sii0680ide.device 1] 3
	and few rows below in the same script

	ram:idetool -p [sii0680ide.device 0] 5
	ram:idetool -p [sii0680ide.device 1] 5

   - Delete or comment out one string if you have just one HardDrive


   If you don't have a clue about the settings, read on for a little help:
    - start  "Media Toolbox" either by double-clicking on it's icon in
Sys:System
      or by selecting "Execute command..." (shorcut is Right-Amiga E) in
Workbench 
      menu, and typing "Media Toolbox" _with_quotes_(!), then press <Enter>
    - Media Toolbox should present itself with a window asking about the device
to 
      use, select the device your HDs are connected to, and 
    - memorise the name of the device, it could be sii0680ide.device,
sii3112ide.device,
      sii3114ide.device or sii3512ide.device.
    - once you have selected the right one, press "Start"
      Now you will see a list with all the Drives connected to that device.

    - look at the column titled "ID, LUN" and write down the ID of the drives
you want 
      to switch

   let's say you choice was "sii3112ide.device" and there is only one HardDrive,
then 
   you should edit the "Stop-Script" as follows:
      RAM:IDETool -p sii0680ide.device 0 3 (this line puts the HD to sleep)
     to
      RAM:IDETool -p sii3112ide.device 0 3
    - delete or comment out by putting a Semicolon to
      ;RAM:IDETool -p sii0680ide.device 1 3

    - and accordingly the same 6 rows below
      ram:idetool -p sii0680ide.device 0 5 (this line Stops the HD)
     to
      RAM:IDETool -p sii3112ide.device 0 5

    - delete or comment out
      RAM:IDETool -p sii0680ide.device 1 5

3) Copy both scripts to S:Shell/ or S: using Workbench or by issuing the
following 
   command in a Shell: (copy&paste, then press enter)
   COPY RAM:Reboot-Spindown-Script/~(#?.readme) TO S:Shell/ CLONE
4) If you like add the "Reboot Script" to your AmiDock



HOW TO USE
----------
Added to AmiDock the Reboot script gives you handy button to Reboot or Halt your
System.

Once you click on it a pretty much self-explaing Requester will pop up.

"Sleep" just does that, puts the HardDrives to sleep and they will wake up again
if you 
double click on their icon.


*************************************   WARNING  
*************************************
 Should you select "STOP System" a second Warning Requester opens, by clicking
on 
"STOP" here you will have to perform a HARD-Reset to spind the Harddrives back
on!
********************************************************************************
*******

Have fun!




File Version Size Date OS Dls Readme
rebootnow.lha2.144kb08 Nov 154.010¤ RebootNow - Reboot / shut-down requester script for AOS4
Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment