From 176b80fcf65eaed4657a1f782ed10a276f8bc365 Mon Sep 17 00:00:00 2001 From: fbt Date: Sun, 24 May 2020 04:21:39 +0300 Subject: [PATCH] Actually, to hell with this sugar stuff Signed-off-by: fbt --- config/ufw | 8 +++++++- ufw | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/config/ufw b/config/ufw index 3447204..5857c08 100644 --- a/config/ufw +++ b/config/ufw @@ -1,5 +1,11 @@ # Put your actual secret here, this is just a random string -secret = 'rooxoosh7Aese7phiPh3Choh3uthiTha' +secret='rooxoosh7Aese7phiPh3Choh3uthiTha' # Override the default common curl behaviour: #curl() { command curl -sL "$@"; } + +#cfg_tmp_dir="$XDG_RUNTIME_DIR/ufw" +#cfg_service_url='https://8fw.me' +#cfg_max_filesize='200M' # Local limit, doesn't affect the server one :) +#flag_shortlink=0 # Display short links +#flag_directlink=1 # Display direct file links diff --git a/ufw b/ufw index 25b1a2e..346c7a0 100755 --- a/ufw +++ b/ufw @@ -25,8 +25,6 @@ err() { printf '(error) %s\n' "$*" >&2; } curl() { command curl -sL "$@"; } -secret() { shift; secret=( "$@" ); } - usage() { _cat <<- EOF Usage: ufw [-RsF] [-D num] [file/url]