Logo by Kicko (anonymous IP: 3.15.239.0,0) | ||||||||||||
| ||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (149) Game (1011) Graphics (500) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4399 Full index file Recent index file
 Amigans.net  OpenAmiga  Aminet  UtilityBase  IntuitionBase  AmigaBounty
Support the site
|
[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!
|
Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved Amiga OS and its logos are registered trademarks of Hyperion Entertainment |