#!/usr/bin/expect -f
set tvgwRecordChannel [lindex $argv 0]
set tvldFlag [lindex $argv 1]
spawn su
expect "Password: "
send "hello123\r"
expect "]#"
send "./cmm_tvgw_config.sh  $tvgwRecordChannel  $tvldFlag\r"
expect "]#"
send "/opt/fonsview/NE/cmm/bin/restart.sh\r"
expect eof

相关文章:

  • 2022-12-23
  • 2021-06-13
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-13
  • 2021-12-31
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2021-05-19
  • 2022-01-25
  • 2022-01-05
  • 2022-02-07
相关资源
相似解决方案