|
|
@ -11,7 +11,7 @@ arc=$(tar czf - -C $CONFDIR $(find $CONFDIR -type f -printf "%f ")| base64 -w0)
|
|
|
|
[[ $(echo $arc | wc -c) -le 65535 ]] || { echo "Files size too large!"; exit 1; }
|
|
|
|
[[ $(echo $arc | wc -c) -le 65535 ]] || { echo "Files size too large!"; exit 1; }
|
|
|
|
|
|
|
|
|
|
|
|
COMMANDS="
|
|
|
|
COMMANDS="
|
|
|
|
mkdir /tmp/conf.d;
|
|
|
|
mkdir $'"$DSTDIR"';
|
|
|
|
echo $'"$arc"' | base64 -di | tar -xzf - -C $'"$DSTDIR"';
|
|
|
|
echo $'"$arc"' | base64 -di | tar -xzf - -C $'"$DSTDIR"';
|
|
|
|
trap \"rm -rf /tmp/conf.d; exit\" 0;
|
|
|
|
trap \"rm -rf /tmp/conf.d; exit\" 0;
|
|
|
|
bash --rcfile /tmp/conf.d/bashrc -i
|
|
|
|
bash --rcfile /tmp/conf.d/bashrc -i
|
|
|
|