1234567891011121314151617181920212223 |
- #!/bin/bash
-
- FREEDOMBONE_REPO="https://github.com/bashrc/freedombone"
-
- update-ca-certificates
-
- if [ ! -d /root/freedombone ]; then
- echo " git clone $FREEDOMBONE_REPO /root/freedombone"
- fi
-
- if [ -f /root/freedombone.cfg ]; then
- cd /root/freedombone
- git stash
- git pull
- make install
- freedombone -c /root/freedombone.cfg
- fi
-
- echo '
-
- ' | reset-tripwire
-
- # deliberately there is no 'exit 0' here
|