Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-26-2013, 08:27 AM   #1
LQ Newbie
Registered: Sep 2013
Posts: 5

Rep: Reputation: Disabled
howto execute a simple script on startup ?


I am using systemd kernel 3.11 and I have a very low knowledge in script and initscipt using systemd.

I am trying to do a simple thing but I dont know how to make it work.

I just want this script :


echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo

to be executed at startup

Can someone guide me ?
Old 09-26-2013, 08:57 AM   #2
Keith Hedger
Senior Member
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,703

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
call the script or as its small add it to the /etc/rc.d/rc.local, your rc.local file may be in a slightly different place check your distro docs.

It would probably help if you had said what distro you was using and/or posted in the relevant sub forum.
Old 09-26-2013, 09:53 AM   #3
LQ Newbie
Registered: Sep 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
I am using arch linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Execute script at startup Pir Ovais Linux - Newbie 6 11-02-2011 04:33 AM
Bash script to execute on startup niravshah Linux - Newbie 11 09-09-2009 07:16 PM
execute custom made script on startup howto ALInux Linux - General 7 02-07-2006 01:25 PM
auto execute shell script on startup slackwbas Slackware 9 02-27-2005 10:26 AM
IceWM doesn't execute my startup script martinpi Linux - Software 1 05-28-2004 02:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration