misc-post.sh 572 B

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