Révision 4881e5a9
Ajouté par Ermal il y a plus de 9 ans
etc/inc/ipsec.auth-user.php | ||
---|---|---|
35 | 35 |
pfSense_MODULE: openvpn |
36 | 36 |
*/ |
37 | 37 |
/* |
38 |
* racoon calls this script to authenticate a user
|
|
38 |
* ipsec calls this script to authenticate a user
|
|
39 | 39 |
* based on a username and password. We lookup these |
40 | 40 |
* in our config.xml file and check the credentials. |
41 | 41 |
*/ |
etc/phpshellsessions/gitsync | ||
---|---|---|
249 | 249 |
if($nobackup == false) { |
250 | 250 |
echo "===> Backing up current pfSense information...\n"; |
251 | 251 |
echo "===> Please wait... "; |
252 |
exec("tar czPf /root/cvssync_backup.tgz --exclude /root --exclude /dev --exclude /var/db/racoon/racoon.sock --exclude /tmp --exclude /var/run --exclude /var/empty /");
|
|
252 |
exec("tar czPf /root/cvssync_backup.tgz --exclude /root --exclude /dev --exclude /tmp --exclude /var/run --exclude /var/empty /"); |
|
253 | 253 |
$size = filesize("/root/cvssync_backup.tgz"); |
254 | 254 |
echo "{$size} bytes.\n\n"; |
255 | 255 |
sleep(5); |
Formats disponibles : Unified diff
Remove racoon references