]>
git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/misc-progs/extrahdctrl.c
1 /* This file is part of the IPFire Firewall.
3 * This program is distributed under the terms of the GNU General Public
4 * Licence. See the file COPYING for details.
12 #include <sys/types.h>
16 int main(int argc
, char *argv
[]) {
22 snprintf(command
, 512, "/var/ipfire/extrahd/bin/extrahd.pl %s %s", argv
[1], argv
[2]);
23 safe_system("chmod 755 /var/ipfire/extrahd/bin/extrahd.pl 2>&1 >/dev/null");