ソースを参照

gpg agent for root

Bob Mottram 7 年 前
コミット
a34b251cb9
共有4 個のファイルを変更した5 個の追加1 個の削除を含む
  1. 1
    0
      src/freedombone-backup-local
  2. 2
    1
      src/freedombone-backup-remote
  3. 1
    0
      src/freedombone-restore-local
  4. 1
    0
      src/freedombone-restore-remote

+ 1
- 0
src/freedombone-backup-local ファイルの表示

373
     remove_option=$1
373
     remove_option=$1
374
 fi
374
 fi
375
 
375
 
376
+gpg_agent_setup root
376
 backup_mount_drive $1 $2
377
 backup_mount_drive $1 $2
377
 remove_backup_directory $remove_option
378
 remove_backup_directory $remove_option
378
 make_backup_directory
379
 make_backup_directory

+ 2
- 1
src/freedombone-backup-remote ファイルの表示

13
 # License
13
 # License
14
 # =======
14
 # =======
15
 #
15
 #
16
-# Copyright (C) 2015-2016 Bob Mottram <bob@freedombone.net>
16
+# Copyright (C) 2015-2018 Bob Mottram <bob@freedombone.net>
17
 #
17
 #
18
 # This program is free software: you can redistribute it and/or modify
18
 # This program is free software: you can redistribute it and/or modify
19
 # it under the terms of the GNU Affero General Public License as published by
19
 # it under the terms of the GNU Affero General Public License as published by
430
     TEST_MODE="yes"
430
     TEST_MODE="yes"
431
 fi
431
 fi
432
 
432
 
433
+gpg_agent_setup root
433
 backup_configfiles
434
 backup_configfiles
434
 if [[ $TEST_MODE == "no" ]]; then
435
 if [[ $TEST_MODE == "no" ]]; then
435
     backup_blocklist
436
     backup_blocklist

+ 1
- 0
src/freedombone-restore-local ファイルの表示

956
 check_backup_exists
956
 check_backup_exists
957
 check_admin_user
957
 check_admin_user
958
 copy_gpg_keys
958
 copy_gpg_keys
959
+gpg_agent_setup root
959
 restore_blocklist
960
 restore_blocklist
960
 restore_configfiles
961
 restore_configfiles
961
 same_admin_user
962
 same_admin_user

+ 1
- 0
src/freedombone-restore-remote ファイルの表示

857
 ${PROJECT_NAME}-recoverkey -u ${ADMIN_USERNAME} -l $BACKUP_LIST
857
 ${PROJECT_NAME}-recoverkey -u ${ADMIN_USERNAME} -l $BACKUP_LIST
858
 
858
 
859
 copy_gpg_keys
859
 copy_gpg_keys
860
+gpg_agent_setup root
860
 restore_blocklist
861
 restore_blocklist
861
 restore_configfiles
862
 restore_configfiles
862
 restore_passwordstore
863
 restore_passwordstore