View fix_aethercast_apparmor.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
if (( $EUID != 0 )); then | |
FULLFILENAME=$(readlink -e $0) | |
sudo -i "$FULLFILENAME" | |
exit | |
fi | |
if !(grep -q "aethercast" /etc/apparmor.d/sbin.dhclient); then | |
echo "Updating /etc/apparmor.d/sbin.dhclient" |
View install_anbox.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
SUDO='' | |
if (( $EUID != 0 )); then | |
SUDO='sudo' | |
fi | |
$SUDO mount -o rw,remount / | |
$SUDO rm -r /var/cache/apt | |
$SUDO tune2fs -m 0 /dev/loop0 |