Gist file | Target file |
---|---|
rc.local |
sys-net:/rw/config/rc.local |
Last active
July 12, 2022 00:11
-
-
Save cfm/aaa62c65848b6c8a602bb81538b62633 to your computer and use it in GitHub Desktop.
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/sh | |
# This script will be executed at every VM startup, you can place your own | |
# custom commands here. This includes overriding some configuration in /etc, | |
# starting services etc. | |
# Example for overriding the whole CUPS configuration: | |
# rm -rf /etc/cups | |
# ln -s /rw/config/cups /etc/cups | |
# systemctl --no-block restart cups | |
### BEGIN securedrop-workstation ### | |
# Wait for iwlwifi to fail. Then unload it, remove the incompatible firmware, and reload it. | |
sleep 5 | |
modprobe -r iwlmvm iwlwifi | |
rm -f /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm.xz | |
modprobe iwlmvm | |
modprobe iwlwifi | |
### END securedrop-workstation ### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment