13 lines
182 B
C
13 lines
182 B
C
|
#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;
|
||
|
}
|