diff options
Diffstat (limited to 'build-root/deb')
-rw-r--r-- | build-root/deb/debian/vpp.service | 6 | ||||
-rw-r--r-- | build-root/deb/debian/vpp.upstart | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/build-root/deb/debian/vpp.service b/build-root/deb/debian/vpp.service index 40549856..aa1651c4 100644 --- a/build-root/deb/debian/vpp.service +++ b/build-root/deb/debian/vpp.service @@ -4,10 +4,10 @@ After=network.target [Service] Type=simple -ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api -ExecStartPre=-/sbin/modprobe igb_uio +ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api +ExecStartPre=-/sbin/modprobe uio_pci_generic ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf -ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api +ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api Restart=always [Install] diff --git a/build-root/deb/debian/vpp.upstart b/build-root/deb/debian/vpp.upstart index f5908783..62e1d278 100644 --- a/build-root/deb/debian/vpp.upstart +++ b/build-root/deb/debian/vpp.upstart @@ -8,7 +8,7 @@ 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 igb_uio || true + modprobe uio_pci_generic || true end script |