]> git.ipfire.org Git - ipfire-2.x.git/blame - src/misc-progs/extrahdctrl.c
misc-progs: extrahdctrl: Use new run() function
[ipfire-2.x.git] / src / misc-progs / extrahdctrl.c
CommitLineData
aa2870e6
MT
1/* This file is part of the IPFire Firewall.
2 *
3 * This program is distributed under the terms of the GNU General Public
4 * Licence. See the file COPYING for details.
5 *
6 */
7
aa2870e6
MT
8#include "setuid.h"
9
c651dd9b
MT
10int main(int argc, char** argv) {
11 if (!initsetuid())
aa2870e6
MT
12 exit(1);
13
c651dd9b 14 return run("/var/ipfire/extrahd/bin/extrahd.pl", argv);
aa2870e6 15}