~james-page/ubuntu/natty/irqbalance/fix-705429

« back to all changes in this revision

Viewing changes to irqbalance.c

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2004-11-13 12:52:55 UTC
  • mfrom: (0.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041113125255-or7zvpsq64ofy42u
Tags: 0.12-1
New upstream release. No reason not to into testing. (Closes: #280660)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
/*
8
8
   Copyright (C) 2003 Red Hat, Inc. All rights reserved.
9
9
                                                                                                             
10
 
   Usage and distribution of this file are subject to the Open Software License version 1.1
11
 
   that can be found at http://www.opensource.org/licenses/osl-1.1.txt and the COPYING file as
12
 
   distributed together with this file is included herein by reference.
 
10
   Usage and distribution of this file are subject to the Open Software License version 2.1
 
11
   that can be found at http://www.opensource.org/licenses/osl-2.1.txt and the COPYING file as
 
12
   distributed together with this file is included herein by reference. Alternatively you can use 
 
13
   and distribute this file under version 1.1 of the same license.
13
14
                                                                                                                      
14
 
   Author: Arjan van de Ven   <arjanv@redhat.com>
15
 
 
 
15
   Authors: Arjan van de Ven   <arjanv@redhat.com>
 
16
            Eric Dorland       <eric@debian.org>
16
17
*/
17
18
 
18
19
#include "prototypes.h"
27
28
 
28
29
void term_signal(int signal)
29
30
{
30
 
    unlink("/var/run/irqbalance.pid"); 
 
31
    unlink("/var/run/irqbalance.pid");
 
32
    exit(EXIT_SUCCESS);
31
33
}
32
34
 
33
35
void commandpolicy(char *pol, int phase)