diff options
-rw-r--r-- | dev-template/dj/hello.c | 8 | ||||
-rw-r--r-- | dev-template/dj/hello.cc | 9 | ||||
-rw-r--r-- | dev-template/root/.bash_profile | 7 | ||||
-rwxr-xr-x | dev-template/sbin/init | 13 |
4 files changed, 37 insertions, 0 deletions
diff --git a/dev-template/dj/hello.c b/dev-template/dj/hello.c new file mode 100644 index 0000000..a2a90a5 --- /dev/null +++ b/dev-template/dj/hello.c @@ -0,0 +1,8 @@ +#include <stdio.h> + +int +main() +{ + printf("Hello, hard world!\n"); + return 0; +} diff --git a/dev-template/dj/hello.cc b/dev-template/dj/hello.cc new file mode 100644 index 0000000..c3aaa22 --- /dev/null +++ b/dev-template/dj/hello.cc @@ -0,0 +1,9 @@ +#include <iostream> + +using namespace std; + +int main(void) +{ + cout << "hello" << endl; + return 0; +} diff --git a/dev-template/root/.bash_profile b/dev-template/root/.bash_profile new file mode 100644 index 0000000..4b37722 --- /dev/null +++ b/dev-template/root/.bash_profile @@ -0,0 +1,7 @@ +#!/bin/bash + +export PS1=' +[32mstage2 [33m\w[0m +$ '; + +alias ls='ls -CF --color' diff --git a/dev-template/sbin/init b/dev-template/sbin/init new file mode 100755 index 0000000..1815c6d --- /dev/null +++ b/dev-template/sbin/init @@ -0,0 +1,13 @@ +#!/bin/bash + +echo +echo +echo +echo DJ Was Here +echo +echo + +export HOME=/root +cd $HOME + +/bin/bash -i -l |