maint script
This commit is contained in:
@@ -148,3 +148,20 @@ if true; then
|
||||
-H "Secret: dff789f0bbe8183d3254258b33a147d580c1131f39a698c56d3f640ac8415714" \
|
||||
"$ROOTURL"/ls
|
||||
fi
|
||||
|
||||
if true; then
|
||||
pv "$SMALL" | \
|
||||
curl -fL -w "\n" -F file="@-" -X POST \
|
||||
-H "Name: $SMALL" \
|
||||
-H "Max-Downloads: 4000" \
|
||||
-H "Expires-Days: -5" \
|
||||
-H "Secret: dff789f0bbe8183d3254258b33a147d580c1131f39a698c56d3f640ac8415714" \
|
||||
"$ROOTURL"/upload
|
||||
|
||||
|
||||
curl -fL -w "\n" \
|
||||
-H "Secret: dff789f0bbe8183d3254258b33a147d580c1131f39a698c56d3f640ac8415714" \
|
||||
"$ROOTURL"/maintenance
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user