diff options
| author | Jonathan Bauer | 2013-08-22 13:43:19 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2013-08-22 13:43:19 +0200 |
| commit | d45015d422fe39de6c634b89405efef7e861d07a (patch) | |
| tree | 45f9b0536900e0e4c742d38ea923975048432839 /remote/modules/dnbd3/data/opt/openslx | |
| parent | fix /etc/functions.inc sourcing (diff) | |
| parent | [rootfs-stage31] Make download timeouts shorter, properly use drop_shell in t... (diff) | |
| download | tm-scripts-d45015d422fe39de6c634b89405efef7e861d07a.tar.gz tm-scripts-d45015d422fe39de6c634b89405efef7e861d07a.tar.xz tm-scripts-d45015d422fe39de6c634b89405efef7e861d07a.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/dnbd3/data/opt/openslx')
| -rwxr-xr-x | remote/modules/dnbd3/data/opt/openslx/scripts/systemd-setup_dnbd3 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/remote/modules/dnbd3/data/opt/openslx/scripts/systemd-setup_dnbd3 b/remote/modules/dnbd3/data/opt/openslx/scripts/systemd-setup_dnbd3 new file mode 100755 index 00000000..9c76bfa6 --- /dev/null +++ b/remote/modules/dnbd3/data/opt/openslx/scripts/systemd-setup_dnbd3 @@ -0,0 +1,9 @@ +#!/bin/sh + +insmod /lib/modules/dnbd3/dnbd3.ko +[ -e "/dev/dnbd0" ] || exit 1 +for i in 0 1 2 3 4 5 6 7; do + echo 8192 > "/sys/block/dnbd${i}/queue/nr_requests" +done +exec -- dnbd3-client --daemon + |
