LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-01-2003, 02:00 AM   #1
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Rep: Reputation: 15
Source Code?


Ok, a lil while ago I asked about editing the shutdown script. With some help I finally found it and edited it, except with one problem. My computer no longer halts, reboots, or shuts down. If anyone knows where to find the source code for shutdown please tell me! Im running RH8 if you didnt already notice...
 
Old 08-01-2003, 04:06 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
i am pretty sure i recognize your name, and if i am not mistaking you were asking about editing shutdown, and you said something about Termite instead of terminating.....so if my mind is faulty and you are not the same person then disregard my post, but if you are, why don't you search the site for the thread?!?
 
Old 08-01-2003, 04:09 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
http://www.linuxquestions.org/questi...der=descending
well i couldn't resist and i had to do it to show you how easy it was, and it was in fact you that i remembered asking the question.
 
Old 08-01-2003, 11:26 PM   #4
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
Ok they are two different subjects so I decided to create a new thread. They are different because one is about editing it well the other is restoring it. But yeah, that was me.
 
Old 08-02-2003, 12:05 AM   #5
brice2nice
Member
 
Registered: Jul 2003
Location: france
Distribution: GNU/Linux GNU/debian GNU/sarge
Posts: 48

Rep: Reputation: 15
modprobe apm ?
 
Old 08-02-2003, 04:37 AM   #6
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by brice2nice
modprobe apm ?
What does that mean (or do)? Sorry, I'm a complete novice.
 
Old 08-02-2003, 06:40 PM   #7
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
It means try typing that in at a text console. You should do this as root, before you try your program. Basically it loads the APM modules (Linux speak for drivers).
 
Old 08-02-2003, 07:48 PM   #8
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
It comes up with an error saying:
Code:
modprobe: Can't locate module apm
and if i try modprobe \* then it comes up with kernal errors about speedstep.o, anyone have any other ideas or URLs to the original sourcecode?
 
Old 08-02-2003, 11:00 PM   #9
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
It doesnt need apm or acpi to reboot so if its not rebooting then something is wrong.

What happens when you type.

# reboot

error? weird message? what?
 
Old 08-03-2003, 06:00 PM   #10
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
If I say halt, reboot (I dont believe the "#" works well in redhat), or shutdown it says:
Code:
Segmentation Fault
 
Old 08-09-2003, 12:19 PM   #11
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
Well I just overwrote RH 8 for RH 9 (BIG MISTAKE!!!!) and now it shuts down fine becuase the script is dead. Sadly though the new ones binary too...
 
  


Reply


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
How to convert Assembly code to "C" source code ssg14j Programming 2 08-01-2005 01:48 PM
where is source code? heraklez Mandriva 5 07-31-2005 06:47 PM
Source code hey_joe Linux - Newbie 1 03-14-2004 02:06 PM
Source Code help palbox2003 Linux - Newbie 1 02-23-2004 05:10 AM
Source Code dvong3 Linux - Newbie 3 07-13-2003 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:17 PM.

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