/[baselayout]/trunk/src/rc.c
Gentoo

Diff of /trunk/src/rc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2731 Revision 2732
666 eerrorx ("%s: root access required", applet); 666 eerrorx ("%s: root access required", applet);
667 667
668 atexit (cleanup); 668 atexit (cleanup);
669 newlevel = argv[0]; 669 newlevel = argv[0];
670 670
671 /* Change dir to / to ensure all scripts don't use stuff in pwd */
672 chdir ("/");
673
671 /* Setup a signal handler */ 674 /* Setup a signal handler */
672 signal (SIGINT, handle_signal); 675 signal (SIGINT, handle_signal);
673 signal (SIGQUIT, handle_signal); 676 signal (SIGQUIT, handle_signal);
674 signal (SIGTERM, handle_signal); 677 signal (SIGTERM, handle_signal);
675 signal (SIGUSR1, handle_signal); 678 signal (SIGUSR1, handle_signal);

Legend:
Removed from v.2731  
changed lines
  Added in v.2732

  ViewVC Help
Powered by ViewVC 1.1.20