misc-progs: Remove getiptstate.

This commit is contained in:
Michael Tremer
2012-08-15 16:49:00 -04:00
parent 1edfed0326
commit cacc836020
3 changed files with 1 additions and 26 deletions

View File

@@ -7,7 +7,6 @@ usr/local/bin/extrahdctrl
usr/local/bin/fireinfoctrl
usr/local/bin/getconntracktable
usr/local/bin/getipstat
usr/local/bin/getiptstate
#usr/local/bin/iowrap
usr/local/bin/ipfirereboot
usr/local/bin/ipsecctrl

View File

@@ -29,7 +29,7 @@ SUID_PROGS = setdmzholes setportfw setxtaccess \
ipsecctrl timectrl dhcpctrl snortctrl \
applejuicectrl rebuildhosts backupctrl \
logwatch openvpnctrl outgoingfwctrl \
wirelessctrl getipstat getiptstate qosctrl launch-ether-wake \
wirelessctrl getipstat qosctrl launch-ether-wake \
redctrl syslogdctrl extrahdctrl sambactrl upnpctrl tripwirectrl \
smartctrl clamavctrl addonctrl pakfire mpfirectrl wlanapctrl \
setaliases urlfilterctrl updxlratorctrl fireinfoctrl rebuildroutes \

View File

@@ -1,24 +0,0 @@
/* IPFire helper program - IPStat
*
* Get the list from IPTABLES -L
*
*/
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
#include <fcntl.h>
#include "setuid.h"
int main(void)
{
if (!(initsetuid()))
exit(1);
safe_system("/usr/sbin/iptstate -1rbt");
return 0;
}