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 | |
# save previous working directory to preserve state | |
PWD=$(pwd) | |
# download the opnsense OS source | |
echo ">>> Downloading OPNsense Source Code..." | |
rm -r /usr/src | |
git clone --recurse-submodules https://github.com/opnsense/src /usr/src | |
cd /usr/src |