Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Help me make a start-up script.
New Posts  All Forums:Forum Nav:

Help me make a start-up script.

post #1 of 4
Thread Starter 
Hey guys,

I'm after two things at the moment.

1) I'm looking to make a script that performs the following line of code:
Code:
sudo modprobe coretemp

as well as entering my password when prompted and then closing the terminal, or never opening the terminal in the first place.

2) I want "Hardware Sensors Monitor" to constantly be displayed in my task panel.

Running a P8Z68-V, Ubuntu 10.10, 2500k

Any help would be greatly appreciated...

Cheers,

Aaron
Tiger Style
(13 items)
 
   
CPUMotherboardGraphicsRAM
i7-2600k @ 4.4ghz Gigabyte GA-P67A-UD4-B3 [SLI]Gainward 560Ti 2gb 900/1800/2150 1v Crucial Ballistix (2x4gb) 1866mhz 1.6v 
Hard DriveOptical DriveOSMonitor
C300 128gb SSD + 1TB Samsung Spinpoint F3 LG Blue-ray Combo Drive Win7 HP 64bit + SP1 3x Dell U2311H 
KeyboardPowerCaseMouse
Logitech G15 Silverstone 850w (80+ silver) HAF 912 Advanced Cyborg R.A.T 5 
CPUMotherboardRAMHard Drive
2500k @ 4.8ghz P8Z68-V G.Skill Eco 2133mhz 10-11-10-27/1T WD 120gb 
OSMonitorKeyboardPower
Ubuntu 10.10 23in Dell generic USB CX430v2 
CaseMouse
Elite 371 Logitech G5 
  hide details  
Reply
Tiger Style
(13 items)
 
   
CPUMotherboardGraphicsRAM
i7-2600k @ 4.4ghz Gigabyte GA-P67A-UD4-B3 [SLI]Gainward 560Ti 2gb 900/1800/2150 1v Crucial Ballistix (2x4gb) 1866mhz 1.6v 
Hard DriveOptical DriveOSMonitor
C300 128gb SSD + 1TB Samsung Spinpoint F3 LG Blue-ray Combo Drive Win7 HP 64bit + SP1 3x Dell U2311H 
KeyboardPowerCaseMouse
Logitech G15 Silverstone 850w (80+ silver) HAF 912 Advanced Cyborg R.A.T 5 
CPUMotherboardRAMHard Drive
2500k @ 4.8ghz P8Z68-V G.Skill Eco 2133mhz 10-11-10-27/1T WD 120gb 
OSMonitorKeyboardPower
Ubuntu 10.10 23in Dell generic USB CX430v2 
CaseMouse
Elite 371 Logitech G5 
  hide details  
Reply
post #2 of 4
This should take care of the first part
Code:
sudo echo coretemp >> /etc/modules
Core I7
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 rev. D0 @ 4.26Ghz EVGA X58 SLI EVGA GTX 285 OCZ XMP 3x2Gb (pc3 12800) 
Hard DriveOptical DriveOSMonitor
Western Digital Caviar Black 640Gb x 2 LG GH22LS30 openSuse 12.1 x64 HP F2105 
PowerCase
CORSAIR 850TX Cooler Master ATCS 840 
  hide details  
Reply
Core I7
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 rev. D0 @ 4.26Ghz EVGA X58 SLI EVGA GTX 285 OCZ XMP 3x2Gb (pc3 12800) 
Hard DriveOptical DriveOSMonitor
Western Digital Caviar Black 640Gb x 2 LG GH22LS30 openSuse 12.1 x64 HP F2105 
PowerCase
CORSAIR 850TX Cooler Master ATCS 840 
  hide details  
Reply
post #3 of 4
Thread Starter 
Quote:
Originally Posted by tom.slick View Post

This should take care of the first part
Code:
sudo echo coretemp >> /etc/modules

bash: /etc/modules: Permission denied

Done it in root and it seems to have gone through... any way to check?
Edited by Ishinomori - 11/3/12 at 1:47am
Tiger Style
(13 items)
 
   
CPUMotherboardGraphicsRAM
i7-2600k @ 4.4ghz Gigabyte GA-P67A-UD4-B3 [SLI]Gainward 560Ti 2gb 900/1800/2150 1v Crucial Ballistix (2x4gb) 1866mhz 1.6v 
Hard DriveOptical DriveOSMonitor
C300 128gb SSD + 1TB Samsung Spinpoint F3 LG Blue-ray Combo Drive Win7 HP 64bit + SP1 3x Dell U2311H 
KeyboardPowerCaseMouse
Logitech G15 Silverstone 850w (80+ silver) HAF 912 Advanced Cyborg R.A.T 5 
CPUMotherboardRAMHard Drive
2500k @ 4.8ghz P8Z68-V G.Skill Eco 2133mhz 10-11-10-27/1T WD 120gb 
OSMonitorKeyboardPower
Ubuntu 10.10 23in Dell generic USB CX430v2 
CaseMouse
Elite 371 Logitech G5 
  hide details  
Reply
Tiger Style
(13 items)
 
   
CPUMotherboardGraphicsRAM
i7-2600k @ 4.4ghz Gigabyte GA-P67A-UD4-B3 [SLI]Gainward 560Ti 2gb 900/1800/2150 1v Crucial Ballistix (2x4gb) 1866mhz 1.6v 
Hard DriveOptical DriveOSMonitor
C300 128gb SSD + 1TB Samsung Spinpoint F3 LG Blue-ray Combo Drive Win7 HP 64bit + SP1 3x Dell U2311H 
KeyboardPowerCaseMouse
Logitech G15 Silverstone 850w (80+ silver) HAF 912 Advanced Cyborg R.A.T 5 
CPUMotherboardRAMHard Drive
2500k @ 4.8ghz P8Z68-V G.Skill Eco 2133mhz 10-11-10-27/1T WD 120gb 
OSMonitorKeyboardPower
Ubuntu 10.10 23in Dell generic USB CX430v2 
CaseMouse
Elite 371 Logitech G5 
  hide details  
Reply
post #4 of 4
Code:
sudo modprobe -l coretemp

output should look something like
Code:
# modprobe -l coretemp
kernel/drivers/hwmon/coretemp.ko
Core I7
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 rev. D0 @ 4.26Ghz EVGA X58 SLI EVGA GTX 285 OCZ XMP 3x2Gb (pc3 12800) 
Hard DriveOptical DriveOSMonitor
Western Digital Caviar Black 640Gb x 2 LG GH22LS30 openSuse 12.1 x64 HP F2105 
PowerCase
CORSAIR 850TX Cooler Master ATCS 840 
  hide details  
Reply
Core I7
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 rev. D0 @ 4.26Ghz EVGA X58 SLI EVGA GTX 285 OCZ XMP 3x2Gb (pc3 12800) 
Hard DriveOptical DriveOSMonitor
Western Digital Caviar Black 640Gb x 2 LG GH22LS30 openSuse 12.1 x64 HP F2105 
PowerCase
CORSAIR 850TX Cooler Master ATCS 840 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Help me make a start-up script.