Skip to content

Commit 98f17f3

Browse files
author
Magnus Pettersson
committed
Merge branch 'master' of https://github.com/mape0661/plugins
2 parents 1a6f57c + f096596 commit 98f17f3

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

dropbear/bin/sh-wrapper

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
#!/bin/sh
2-
THEPATH=/data/hack/bin
32

4-
for f in /data/plugins/*;
5-
do
6-
if [ -d ${f}/bin ];
7-
then
8-
THEPATH="${f}/bin:${THEPATH}";
9-
fi;
10-
done;
3+
THEPATH='/data/hack/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/opt/local/sbin:/usr/local/sbin:/usr/sbin:/sbin:/scripts'
114

12-
export PATH=${THEPATH}:${PATH}
5+
for f in /data/plugins/*; do
6+
if [ -d ${f}/bin ]; then
7+
THEPATH="${f}/bin:${THEPATH}"
8+
fi
9+
done
10+
11+
export PATH="${THEPATH}"
1312
export LD_LIBRARY_PATH='.:/data/hack/lib:/opt/local/lib:/usr/local/lib:/usr/lib:/lib:/lib/gstreamer-0.10:/opt/local/lib/qt'
13+
export HOME='/data/hack'
1414
export ENV='/data/etc/.profile'
1515

16-
sh /etc/motd
1716

1817
cd /data/hack
19-
/bin/sh "$@"
2018

19+
chmod +x /etc/motd
20+
sh /etc/motd
2121

22+
/bin/sh "$@"

motd/readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
It's a edited version of a motd I found at Raspberry PI dot org. Nothing fancy, but I like to recieve some information about Boxee Box then I log into it with putty.
2+
3+
http://www.raspberrypi.org/phpBB3/viewtopic.php?t=23440

webserver/init.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
if [ "$1" == "start" ]; then
55
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${BASEDIR}/lib
66

7-
chmod +x ${BASEDIR}/bin/php
87
chmod +x ${BASEDIR}/bin/php-cgi
98

109
/data/hack/bin/busybox httpd -p 80 -h ${BASEDIR}/www -c /data/plugins/webserver/httpd.conf &

0 commit comments

Comments
 (0)