summaryrefslogtreecommitdiff
path: root/package/autologin/src/autologin.c
blob: 14c7eeb567e567a6c6218824844a7aa04ad3124a (plain)
1
2
3
4
5
6
7
8
9
10
// This file is part of the OpenADK project. OpenADK is copyrighted
// material, please see the LICENCE file in the top-level directory.

#include <unistd.h>
#include <stdio.h>

int main()
{
  return execlp("login\0","login\0","-f\0", "root\0" ,0);
}