Free up 2.4GB of space used by leftover modem logs. Change-Id: If2efcbb9a18a8a945e9620c0df819d0bd82d8ad7
13 lines
329 B
Bash
13 lines
329 B
Bash
#!/vendor/bin/sh
|
|
#
|
|
# SPDX-FileCopyrightText: 2024 The LineageOS Project
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if [ ! -f /data/vendor/slog/erased ]; then
|
|
rm -rf /data/vendor/slog
|
|
mkdir /data/vendor/slog
|
|
chmod 771 /data/vendor/slog
|
|
chown -hR system.system /data/vendor/slog
|
|
touch /data/vendor/slog/erased
|
|
fi
|