Skip to content

Commit

Permalink
Remove fixup script
Browse files Browse the repository at this point in the history
God I hope this fixes things?
  • Loading branch information
ThatHackerDudeFromCyberspace authored Jan 2, 2025
1 parent dba98af commit 93dfa02
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/install-bridge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ otautils_update_progressbar
logmsg "I" "install" "" "Installing the bridge"
mkdir -p "/var/local/system"
rm -rf "/var/local/system/fixup"
cp -f bridge "/var/local/system/fixup"
chown root:root "/var/local/system/fixup"
chmod a+rx "/var/local/system/fixup"
echo '#!/bin/sh' > /mnt/us/documents/run_bridge.sh
echo '# Name: Run Hotfix' >> /mnt/us/documents/run_bridge.sh
echo '# Author: HackerDude' >> /mnt/us/documents/run_bridge.sh
Expand Down Expand Up @@ -124,7 +121,11 @@ cp -af "/etc/upstart/bridge.conf" "${MKK_PERSISTENT_STORAGE}/bridge.conf"
otautils_update_progressbar

logmsg "I" "install" "" "Storing bridge script"
cp -af "/var/local/system/fixup" "${MKK_PERSISTENT_STORAGE}/bridge.sh"

make_mutable "${MKK_PERSISTENT_STORAGE}"
cp -af bridge "${MKK_PERSISTENT_STORAGE}/bridge.sh"
chown root:root "${MKK_PERSISTENT_STORAGE}/bridge.sh"
chmod a+rx "${MKK_PERSISTENT_STORAGE}/bridge.sh"
make_immutable "${MKK_PERSISTENT_STORAGE}"

otautils_update_progressbar
Expand Down

0 comments on commit 93dfa02

Please sign in to comment.