reverse gt symbol
This commit is contained in:
parent
211fb7b488
commit
a3c052dce6
@ -19,7 +19,7 @@ export -f sync
|
|||||||
prune(){
|
prune(){
|
||||||
echo -e "🄿 🅁 🅄 🄽 🄴"
|
echo -e "🄿 🅁 🅄 🄽 🄴"
|
||||||
version="$(cli -c 'system version' | awk -F '-' '{print $3}' | tr -d " \t\r\.")"
|
version="$(cli -c 'system version' | awk -F '-' '{print $3}' | tr -d " \t\r\.")"
|
||||||
if (( "$version" <= 22120 )); then
|
if (( "$version" >= 22120 )); then
|
||||||
if ! cli -c 'app container config prune prune_options={"remove_unused_images": true, "remove_stopped_containers": true}' | head -n -4; then
|
if ! cli -c 'app container config prune prune_options={"remove_unused_images": true, "remove_stopped_containers": true}' | head -n -4; then
|
||||||
echo "Failed to Prune Docker Images"
|
echo "Failed to Prune Docker Images"
|
||||||
fi
|
fi
|
||||||
@ -97,4 +97,4 @@ echo "bash /mnt/tank/scripts/heavy_script.sh --delete-backup"
|
|||||||
echo
|
echo
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
export -f help
|
export -f help
|
||||||
|
Loading…
Reference in New Issue
Block a user