remote.c

dmuck0.15-beta/src/remote.c · 221 B

From the archive dmuck0.15-beta.tar.gz

Download the archive   « Back to the archive contents

#include <stdio.h>

int main(int argc, char **argv)
{
   if (argc != 2 || strcmp(argv[1], "startup"))
   {
      printf("Sorry.\n");
      exit(1);
   }
   execlp("/bin/csh", "csh", "-f", "restart", NULL);
   return 0;
}

Site Stats

Snippets: 1791
Codebases: 571