cloudfoundry/warden

View on GitHub
warden/root/linux/skeleton/lib/hook-parent-before-clone.sh

Summary

Maintainability
Test Coverage
#!/bin/bash

[ -n "$DEBUG" ] && set -o xtrace
set -o nounset
set -o errexit
shopt -s nullglob

cd $(dirname $0)/../

source ./lib/common.sh

setup_fs

cp bin/wshd mnt/sbin/wshd
chmod 700 mnt/sbin/wshd