misc-post.sh 607 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. # Source Qubes library.
  3. # shellcheck source=init/functions
  4. . /usr/lib/qubes/init/functions
  5. /usr/lib/qubes/update-proxy-configs
  6. if [ -n "$(ls -A /usr/local/lib 2>/dev/null)" ] || \
  7. [ -n "$(ls -A /usr/local/lib64 2>/dev/null)" ]; then
  8. ldconfig
  9. fi
  10. # Set IP address again (besides action in udev rules); this is needed by
  11. # DispVM (to override DispVM-template IP) and in case when qubes-ip was
  12. # called by udev before loading evtchn kernel module - in which case
  13. # qubesdb-read fails
  14. INTERFACE=eth0 /usr/lib/qubes/setup-ip
  15. if [ -x /rw/config/rc.local ] ; then
  16. /rw/config/rc.local
  17. fi