Skip to content

Commit

Permalink
refactor: 删除无用的脚本内容
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow3aaa committed Nov 9, 2024
1 parent 973c51b commit 4fa5cd6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 41 deletions.
25 changes: 0 additions & 25 deletions module/post-fs-data.sh

This file was deleted.

16 changes: 0 additions & 16 deletions module/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@ DIR=/sdcard/Android/fas-rs
MERGE_FLAG=$DIR/.need_merge
LOG=$DIR/fas_log.txt

# $1:value $2:path
lock_val() {
umount $2
chmod +w $2

echo "$1" | tee /dev/fas_rs_mask $2
/bin/find $2 -exec mount /dev/fas_rs_mask {} \;
rm /dev/fas_rs_mask
}

sh $MODDIR/vtools/init_vtools.sh $(realpath $MODDIR/module.prop)

resetprop fas-rs-installed true
Expand All @@ -36,12 +26,6 @@ until [ -d $DIR ]; do
sleep 1
done

stop vendor.oplus.ormsHalService-aidl-default

for i in $(seq 0 2); do
lock_val "$i 20000" /proc/shell-temp
done

if [ -f $MERGE_FLAG ]; then
$MODDIR/fas-rs merge $MODDIR/games.toml >$DIR/.update_games.toml
rm $MERGE_FLAG
Expand Down

0 comments on commit 4fa5cd6

Please sign in to comment.