File: insthier.c

package info (click to toggle)
twoftpd 1.20-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 572 kB
  • ctags: 295
  • sloc: ansic: 2,052; sh: 1,940; makefile: 108
file content (23 lines) | stat: -rw-r--r-- 707 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "conf_bin.c"
#include "conf_man.c"
#include <installer.h>

void insthier(void)
{
  int bin = opendir(conf_bin);
  int man = opendir(conf_man);
  int man1 = d(man, "man1", -1, -1, 0755);
  
  c(bin,  "twoftpd-anon",      -1, -1, 0555);
  c(bin,  "twoftpd-anon-conf", -1, -1, 0555);
  c(bin,  "twoftpd-auth",      -1, -1, 0555);
  c(bin,  "twoftpd-bind-port", -1, -1, 0555);
  c(bin,  "twoftpd-conf",      -1, -1, 0555);
  c(bin,  "twoftpd-drop",      -1, -1, 0555);
  c(bin,  "twoftpd-switch",    -1, -1, 0555);
  c(bin,  "twoftpd-xfer",      -1, -1, 0555);

  c(man1, "twoftpd-auth.1",    -1, -1, 0444);
  c(man1, "twoftpd-switch.1",  -1, -1, 0444);
  c(man1, "twoftpd-xfer.1",    -1, -1, 0444);
}