mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-01 07:50:23 +02:00
Bumping across one of our scripts with very long trailing whitespaces, I thought it might be a good idea to clean these up. Doing so, some missing or inconsistent licence headers were fixed. There is no need in shipping all these files en bloc, as their functionality won't change. Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
24 lines
407 B
C
24 lines
407 B
C
/* IPFire helper program - fireinfoctrl
|
|
*
|
|
* This program is distributed under the terms of the GNU General Public
|
|
* Licence. See the file COPYING for details.
|
|
*
|
|
* (c) IPFire Team, 2011
|
|
*
|
|
* Simple program that calls "sendprofile" as the root user.
|
|
*
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
#include "setuid.h"
|
|
|
|
int main(void)
|
|
{
|
|
if (!(initsetuid()))
|
|
exit(1);
|
|
|
|
safe_system("/usr/bin/sendprofile");
|
|
|
|
return 0;
|
|
}
|