1
0
This repository has been archived on 2024-11-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Lakka-rk322x/packages/sysutils/busybox/scripts/pastebinit
2019-03-26 16:43:42 +00:00

12 lines
342 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
if [ -n "${PASTEUSR}" -a "${PASTEPWD}" ]; then
cat "$@" | curl -F 'f:1=<-' ${PASTEUSR}:${PASTEPWD}@ix.io
else
cat "$@" | curl -F 'f:1=<-' http://ix.io
fi