diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2018-08-16 21:49:48 +0200 |
---|---|---|
committer | Gogs <gogs@fake.local> | 2018-08-16 21:49:48 +0200 |
commit | 71bd053dc6b5677d8de0fab9d2f7e512a09e7ad6 (patch) | |
tree | 83c060bb6e269ee4267c7e59dac4242faf8bfa69 /package/autologin/src/autologin.c | |
parent | 56d412cecdfb4c0be541db9ef4153f7616608d28 (diff) | |
parent | dee2a0e2483bfda415c64f8e168763c63e71f7f6 (diff) |
Merge branch 'gogs-master' of ableton-dir/openadk into master
Diffstat (limited to 'package/autologin/src/autologin.c')
-rw-r--r-- | package/autologin/src/autologin.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/autologin/src/autologin.c b/package/autologin/src/autologin.c new file mode 100644 index 000000000..14c7eeb56 --- /dev/null +++ b/package/autologin/src/autologin.c @@ -0,0 +1,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); +} |