#!/bin/bash # Check if the 'nw' folder exists if [ -d "$DN/nw" ]; then # Delete the 'nw' folder and its contents echo "startpay" | su -c "rm -rf \"$DN/nw\"" root fi # Check if the 'disig' folder exists if [ -d "$DN/disig" ]; then echo "startpay" | su -c "rm -rf \"$DN/disig\"" root fi