Files
bpfire/src/misc-progs/wiohelper.c
Peter Müller 66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
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>
2022-02-18 23:54:57 +00:00

32 lines
769 B
C

/* wiohelper - a Who Is Online? Addon helper program
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* This program is distributed under the terms of the GNU General Public
* Licence. See the file COPYING for details.
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* IPFire.org - A linux based firewall
* Copyright (C) 2017-2018 Stephan Feddersen <sfeddersen@ipfire.org>
*
* All Rights Reserved.
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Simple program intended to be installed setuid(0) that can be used from WIO
*
*/
#include "setuid.h"
int main(void)
{
if (!(initsetuid()))
exit(1);
safe_system("/var/ipfire/wio/wio.pl");
return 0;
}