niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
· nixdoc.net · man pages · Linux HOWTOs · FreeBSD Tips · Forums
navigation Forum index » Programming » Unix internals
init and SIGINT on linux
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
elliotgreen101@hotmail.co
*nix forums beginner


Joined: 26 Jun 2006
Posts: 1

PostPosted: Mon Jun 26, 2006 8:47 pm    Post subject: init and SIGINT on linux Reply with quote

Hi,
When I change the ctrlaltdel line in inittab to:

ca::ctrlaltdel:/bin/echo 'shutdown disabled'

it only works once. I beleive this may have something to do with the
way init is handling the SIGINT that is sent when ctrl-alt-del is
pressed. Only after running init q will it work again. I thought
about appending ;init q to the command that is run, but that is just
plain evil.

Anyone have any better ideas?
Thanks!
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Fri Jul 30, 2010 2:50 am | All times are GMT
navigation Forum index » Programming » Unix internals
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Email & Collaboration software based on Linux & O... fundig Linux 0 Tue Jul 21, 2009 1:37 pm
No new posts Help required for configuring the VPN Server in Linux SHERDIL security 0 Sun Nov 19, 2006 2:22 pm
No new posts 2 USB webcams on Linux 2.6.15.4 produce a hang Suyog hardware 1 Fri Jul 21, 2006 7:27 am
No new posts Is there C/C++ corresponding function in Linux for Java's... xiebopublic@gmail.com apps 4 Fri Jul 21, 2006 3:22 am
No new posts Is there C/C++ corresponding function in Linux for Java's... xiebopublic@gmail.com C++ 1 Fri Jul 21, 2006 2:44 am

Copyright © 2004-2005 DeniX Solutions SRL   Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum |  Privacy Policy



Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0820s ][ Queries: 14 (0.0597s) ][ GZIP on - Debug on ]