LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-24-2003, 01:00 PM   #16
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Rep: Reputation: 30

whats the dummies package?? never used redhat...but linux=linux so you must be able to edit the text! nothing found yet (could take ages).
 
Old 07-24-2003, 01:04 PM   #17
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
well the redhat for dummies book comes their version of redhat
 
Old 07-24-2003, 01:06 PM   #18
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Rep: Reputation: 30
ah rite those (...) for dummies books . nothing found (yet) btw im searching 2gb/reiserfs/slackware9.
 
Old 07-24-2003, 01:07 PM   #19
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
ok
 
Old 07-24-2003, 01:11 PM   #20
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I don't think it's in the Slack scripts. Here's about where it *would* be.

Code:
# Kill all processes.
# INIT is supposed to handle this entirely now, but this didn't always
# work correctly without this second pass at killing off the processes.
# Since INIT already notified the user that processes were being killed,
# we'll avoid echoing this info this time around.
if [ "$1" != "fast" ]; then # shutdown did not already kill all processes
  killall5 -15 
  sleep 5
  killall5 -9
fi
 
Old 07-24-2003, 01:13 PM   #21
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
looks about right...
 
Old 07-24-2003, 01:14 PM   #22
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
Where is it in Slack?

Last edited by HappyDude; 07-24-2003 at 01:15 PM.
 
Old 07-24-2003, 01:17 PM   #23
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Found it. It's embedded in init. Kinda hard to edit that.

Code:
 
|--bash 2.05b /sbin $ strings init | grep -i term
Sending processes the TERM signal
 
Old 07-24-2003, 01:18 PM   #24
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
All this so HappyDude can echo TERMITE. *lol*
 
Old 07-24-2003, 01:20 PM   #25
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
EDIT EDIT EDIT: I FOUND THE TERMITE SIGNAL! THANK YOU PEOPLE!!

EDIT EDIT: I FOUND SOMETHING I LOOKED AT WITH EMACS!!! I FOUND THE TERMINAL PART!!! YAY!!

Back to the main problem... Its in binary!

Last edited by HappyDude; 07-24-2003 at 01:26 PM.
 
Old 07-24-2003, 01:24 PM   #26
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Well, download the source for init and edit the file and compile it. The source isn't binary yet.

No, seriously - you should be able to add anything you want to the script, though. (Well, not *anything*, obviously.) Like if Patrick had echoed what was going on it would have displayed, it just would have been redundant.
 
Old 07-24-2003, 01:28 PM   #27
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
EDIT: sorry i thought you "you" had downloaded it
where did you manage to download it? cause the mines full of "@"

Last edited by HappyDude; 07-24-2003 at 01:29 PM.
 
Old 07-24-2003, 01:36 PM   #28
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Now I'm confused all over again. I don't have the init source code. Everybody's got init scripts on their systems. Those are text files. That's what my first code snippet was from. And everybody's got init and, if they work, they're binary. I just searched the binary for the ascii that would be echoed. That was the second code snippet pasted from rxvt. But everybody's got *different* init scripts and maybe different versions of the init binary. Where'd you find your termite stuff?
 
Old 07-24-2003, 01:41 PM   #29
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
EDIT: Who cares? Might as well stick with changing what it says cause I cant find the source code and I've made you people really confused. Thanks for all the help.

Ok first I found it in /sbin/shutdown and second it was full of "@"s "/"s and numbers.

Last edited by HappyDude; 07-24-2003 at 01:54 PM.
 
Old 07-24-2003, 02:05 PM   #30
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Okay. Well, good luck.
 
  


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
"shutdown" and "halt" symlinks: poweroff, reboot. sud_crow Linux From Scratch 11 10-17-2006 11:03 PM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 01:00 AM
SuSE 8.2 Will Not Poweroff, Shutdown, Reboot, Halt... whiskeypriest Linux - Newbie 4 09-18-2003 09:29 AM
Disable reboot/halt/shutdown as normal user carstenbjensen Mandriva 4 09-09-2003 11:42 AM
halt and reboot in gnome tuggy Debian 1 08-28-2003 10:25 PM

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

All times are GMT -5. The time now is 03:55 AM.

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