blob: 96c67ac11869934f605850a1d3354b1ee883054d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <unistd.h>
/* This demo does nothing except for testing /etc/init.d/skeleton */
int main(int argc, char *argv[])
{
daemon(0, 0);
while (1) {
sleep(1);
}
return 0;
}
|