remove bashexec from allipsetup function
This commit is contained in:
parent
65408729ae
commit
43cb0d5743
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ python3 ipdel VLAN IP --- del IP from VLAN
|
|||
bashexec('vlsetup', setvlans(clientiface))
|
||||
|
||||
if sys.argv[1] == 'allipsetup':
|
||||
bashexec('allipsetup', allipsetup('/root/pubip.cache'))
|
||||
allipsetup('/root/pubip.cache')
|
||||
|
||||
if sys.argv[1] == 'ipadd':
|
||||
bashexec('ipadd-{}-{}'.format(sys.argv[2], sys.argv[3]), assignip(sys.argv[2], sys.argv[3]))
|
||||
|
|
Loading…
Reference in a new issue