Skip to content

Commit

Permalink
flux/entry source /.env2;
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Jun 24, 2024
1 parent 615fb3f commit 6bfe39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flux/src/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function oneVnc(){
# de: gosu headless bash -c "xxx"
dest=/etc/perp/$xn-de; mkdir -p $dest
# exec startfluxbox > /dev/null 2>\&1
cat /etc/perp/tpl-rc.main |sed "s^_CMD_^exec gosu headless bash -c \"$envcmd; $decmd; env |grep -v PASS |sort; source /.env; sleep 2; exec startfluxbox\"^g" > $dest/rc.main
cat /etc/perp/tpl-rc.main |sed "s^_CMD_^exec gosu headless bash -c \"$envcmd; $decmd; env |grep -v PASS |sort; source /.env; source /.env2; sleep 2; exec startfluxbox\"^g" > $dest/rc.main


# XRDP /etc/xrdp/xrdp.ini
Expand Down

0 comments on commit 6bfe39c

Please sign in to comment.