Skip to content

Commit

Permalink
change the way to manage email
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang548 committed May 4, 2022
1 parent 502ba72 commit f8edd89
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions script/network_portal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interactive=$(${cmdprefix}interactive | sed -r '/^\s*$/d')
resn=$($SIGNET_ROOT/signet -s --resn | sed -r '/^\s*$/d')
sif=$($SIGNET_ROOT/signet -s --sif | sed -r '/^\s*$/d' | xargs readlink -f)
forcerm=$($SIGNET_ROOT/signet -s --forcerm | sed -r '/^\s*$/d')
eamil=$($SIGNET_ROOT/signet -s --email | sed -r '/^\s*$/d')
email=$($SIGNET_ROOT/signet -s --email | sed -r '/^\s*$/d')

function usage() {
echo 'Usage:'
Expand Down Expand Up @@ -126,7 +126,7 @@ case "$1" in
shift;;
--email)
email=$2
$SIGNET_ROOT/signet -s --email $email
sed -iE "s/email = /email = $email/g" $SIGNET_ROOT/config.ini
shift;;
--h|--help)
usage
Expand Down Expand Up @@ -172,7 +172,6 @@ do
file_check $(eval "$(echo "echo \$${i}")")
done


$SIGNET_SCRIPT_ROOT/network/network.sh

echo -e "Finish time: $(date)"

0 comments on commit f8edd89

Please sign in to comment.