8 lines
218 B
Bash
8 lines
218 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
echo www-data-password | sudo -S veracrypt -t -v --non-interactive --mount /tmp/crypt_container.dat /media/veracrypt/ -p $1
|
||
|
sleep 1
|
||
|
echo www-data-password | sudo -S echo "there some another command"
|
||
|
|
||
|
exit
|