Hi 
I need to run a script immediately after VPP is up.
I try to add a line in /etc/init/vpp.conf   marked ** below - but this doesn't  
work , any idea how-to ?

Vpp.conf
description     "vector packet processing engine"
author          "Cisco Systems, Inc <listn...@cisco.com>"

manual

respawn

pre-start script
   rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api || true
   # should be there via dkms, but if not, start anyway
   modprobe uio_pci_generic || true
end script


script
  exec vpp -c /etc/vpp/startup.conf
  ** source /home/avi/script/am_setup.sh **
end script

post-stop script
   rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api || true
end script

Best Regards
Avi
~                                                                               
                                                                     

-=-=-=-=-=-=-=-=-=-=-=-
Links:

You receive all messages sent to this group.

View/Reply Online (#8351): https://lists.fd.io/g/vpp-dev/message/8351
View All Messages In Topic (1): https://lists.fd.io/g/vpp-dev/topic/13138532
Mute This Topic: https://lists.fd.io/mt/13138532/21656
New Topic: https://lists.fd.io/g/vpp-dev/post

Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656
Group Home: https://lists.fd.io/g/vpp-dev
Contact Group Owner: vpp-dev+ow...@lists.fd.io
Terms of Service: https://lists.fd.io/static/tos
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to