mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #2322 from holta/pastebinit-bug-workaround
pastebinit bugs: try dpaste.com instead (for iiab-diagnostics command)
This commit is contained in:
commit
c19e96464b
2 changed files with 3 additions and 3 deletions
|
@ -214,10 +214,10 @@ read ans < /dev/tty
|
|||
echo -e "\e[1m"
|
||||
if [ "$ans" == "" ] || [ "$ans" == "y" ] || [ "$ans" == "Y" ]; then
|
||||
echo -ne "PUBLISHING TO URL... "
|
||||
pastebinit < $outfile
|
||||
pastebinit -b dpaste.com < $outfile # Run 'pastebinit -l' to list other possible pastebin site URLs
|
||||
else
|
||||
echo -e "If you later decide to publish it, run:"
|
||||
echo
|
||||
echo -e " pastebinit < $outfile"
|
||||
echo -e " pastebinit -b dpaste.com < $outfile"
|
||||
fi
|
||||
echo -e "\e[0m"
|
||||
|
|
|
@ -47,7 +47,7 @@ But first off, the file is compiled by harvesting 1 + 6 kinds of things:
|
|||
Or, you can later/manually upload it using the ``pastebinit`` command:
|
||||
|
||||
```
|
||||
pastebinit < /etc/iiab/diag/NEW-FILE-NAME
|
||||
pastebinit -b dpaste.com < /etc/iiab/diag/NEW-FILE-NAME
|
||||
```
|
||||
|
||||
Either way, this will generate an actual web link (URL).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue