Skip to content
This repository was archived by the owner on May 17, 2019. It is now read-only.

Commit a8ba637

Browse files
author
NerdOfCode
committed
Correcting Licensing
1 parent 50bc318 commit a8ba637

4 files changed

Lines changed: 77 additions & 17 deletions

File tree

Bin/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ EOF
1111

1212
printf "By: NerdOfCode!\n"
1313
printf "Version: 0.02 Alpha\n"
14-
printf "Last updated on: 9/24/18\n\n"
14+
printf "Last updated on: 9/29/18\n\n"

Src/globals.h

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
1-
/*****************************/
2-
//EDIT
1+
/*
2+
3+
*Licensed to the Apache Software Foundation (ASF) under one
4+
*or more contributor license agreements. See the NOTICE file
5+
*distributed with this work for additional information
6+
*regarding copyright ownership. The ASF licenses this file
7+
*to you under the Apache License, Version 2.0 (the
8+
*"License"); you may not use this file except in compliance
9+
*with the License. You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
*Unless required by applicable law or agreed to in writing,
14+
*software distributed under the License is distributed on an
15+
*"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
*KIND, either express or implied. See the License for the
17+
*specific language governing permissions and limitations
18+
*under the License.
19+
20+
21+
*/
22+
23+
//EDIT BELOW:
324

425
//Used for displaying debug info for specific functions and commands (Experimental)
526
#define DEBUG 0

Src/shell.c

Lines changed: 33 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,40 @@
11
/*
2-
3-
#######################################################################################
4-
Author: NerdOfCode
5-
Purpose: A work in progress shell built in C... Designed to be lightweight and fast...
6-
Tested on: Ubuntu Server 16.04
7-
Status: Working --> ^^^
8-
License: Apache-2.0
9-
Updated on: 9/24/18
10-
#######################################################################################
11-
12-
#########################################################
13-
Documentation: Can be found on the github repository at:
14-
https://github.com/NerdOfCode/Restricted-Shell
15-
#########################################################
2+
*Licensed to the Apache Software Foundation (ASF) under one
3+
*or more contributor license agreements. See the NOTICE file
4+
*distributed with this work for additional information
5+
*regarding copyright ownership. The ASF licenses this file
6+
*to you under the Apache License, Version 2.0 (the
7+
*"License"); you may not use this file except in compliance
8+
*with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
*Unless required by applicable law or agreed to in writing,
13+
*software distributed under the License is distributed on an
14+
*"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
*KIND, either express or implied. See the License for the
16+
*specific language governing permissions and limitations
17+
*under the License.
18+
19+
20+
21+
22+
#######################################################################################
23+
Author: NerdOfCode
24+
Tested on: Ubuntu Server 16.04
25+
Status: Working --> ^^^
26+
License: Apache-2.0
27+
Updated on: 9/29/18
28+
#######################################################################################
29+
30+
#########################################################
31+
Documentation: Can be found on the github repository at:
32+
https://github.com/NerdOfCode/Restricted-Shell
33+
#########################################################
1634
1735
*/
1836

37+
1938
#include <stdio.h>
2039
#include <string.h>
2140
#include <stdlib.h>

run.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
#!/bin/bash
22

3+
: '
4+
5+
*Licensed to the Apache Software Foundation (ASF) under one
6+
*or more contributor license agreements. See the NOTICE file
7+
*distributed with this work for additional information
8+
*regarding copyright ownership. The ASF licenses this file
9+
*to you under the Apache License, Version 2.0 (the
10+
*"License"); you may not use this file except in compliance
11+
*with the License. You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
*Unless required by applicable law or agreed to in writing,
16+
*software distributed under the License is distributed on an
17+
*"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18+
*KIND, either express or implied. See the License for the
19+
*specific language governing permissions and limitations
20+
*under the License.
21+
22+
'
323
#Author: NerdOfCode
424
#Purpose: Easily setup this Restricted-Shell
525

0 commit comments

Comments
 (0)