Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.