Combine with files from virtual working directory

This commit is contained in:
2014-12-18 12:18:17 +00:00
parent 25a6f48597
commit 41761f6043
60 changed files with 1436 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/sh
mkdir -p $BTSYNC_DATA
if [ ! -e $BTSYNC_CONFIG ]; then
mkdir -p `dirname $BTSYNC_CONFIG`
/opt/btsync --dump-sample-config > $BTSYNC_CONFIG
sed -i "s,\(\"storage_path\"\s*:\).*,\1 \"$BTSYNC_DATA\"\,," $BTSYNC_CONFIG
fi
/opt/btsync --nodaemon --config $BTSYNC_CONFIG

View File

@@ -0,0 +1,2 @@
#!/bin/sh
/usr/sbin/cron -f

View File

@@ -0,0 +1,2 @@
#!/bin/sh
/usr/sbin/sshd -D

View File

@@ -0,0 +1,24 @@
#!/bin/sh
set -e
SYSLOGNG_OPTS=""
[ -r /etc/default/syslog-ng ] && . /etc/default/syslog-ng
case "x$CONSOLE_LOG_LEVEL" in
x[1-8])
dmesg -n $CONSOLE_LOG_LEVEL
;;
x)
;;
*)
echo "CONSOLE_LOG_LEVEL is of unaccepted value."
;;
esac
if [ ! -e /dev/xconsole ]
then
mknod -m 640 /dev/xconsole p
fi
syslog-ng -F -p /var/run/syslog-ng.pid $SYSLOGNG_OPTS