14 lines
422 B
Bash
Executable file
14 lines
422 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
|
|
# Copyright (C) 2020-present Fewtarius
|
|
|
|
. /etc/profile
|
|
source /usr/bin/env.sh
|
|
clear >/dev/console
|
|
systemctl stop ${UI_SERVICE}
|
|
echo "Cleaning ._ files from /storage/roms" >/dev/console
|
|
find /storage/roms -iname '._*' -exec rm -rf {} \;
|
|
clear >/dev/console
|
|
systemctl start ${UI_SERVICE}
|