Browse Source

Create trove

Bob Mottram 9 years ago
parent
commit
110ad76ef8
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      src/freedombone

+ 9
- 0
src/freedombone View File

2232
     echo 'mesh_cjdns' >> $COMPLETION_FILE
2232
     echo 'mesh_cjdns' >> $COMPLETION_FILE
2233
 }
2233
 }
2234
 
2234
 
2235
+function create_trove {
2236
+    if grep -Fxq "create_trove" $COMPLETION_FILE; then
2237
+        return
2238
+    fi
2239
+	${PROJECT_NAME}-trove
2240
+    echo 'create_trove' >> $COMPLETION_FILE
2241
+}
2242
+
2235
 function mesh_cjdns_tools {
2243
 function mesh_cjdns_tools {
2236
     if grep -Fxq "mesh_cjdns_tools" $COMPLETION_FILE; then
2244
     if grep -Fxq "mesh_cjdns_tools" $COMPLETION_FILE; then
2237
         return
2245
         return
9992
 check_hwrng
10000
 check_hwrng
9993
 search_for_attached_usb_drive
10001
 search_for_attached_usb_drive
9994
 regenerate_ssh_keys
10002
 regenerate_ssh_keys
10003
+create_trove
9995
 create_upgrade_script
10004
 create_upgrade_script
9996
 letsencrypt_renewals
10005
 letsencrypt_renewals
9997
 install_zeronet
10006
 install_zeronet