misc-post.sh 711 B

1234567891011121314151617181920212223242526
  1. #!/bin/sh
  2. /usr/lib/qubes/update-proxy-configs
  3. if [ -n "`ls -A /usr/local/lib 2>/dev/null`" -o \
  4. -n "`ls -A /usr/local/lib64 2>/dev/null`" ]; then
  5. ldconfig
  6. fi
  7. # Set IP address again (besides action in udev rules); this is needed by
  8. # DispVM (to override DispVM-template IP) and in case when qubes-ip was
  9. # called by udev before loading evtchn kernel module - in which case
  10. # qubesdb-read fails
  11. INTERFACE=eth0 /usr/lib/qubes/setup-ip
  12. [ -x /rw/config/rc.local ] && /rw/config/rc.local
  13. # Start services which haven't own proper systemd unit:
  14. if [ ! -f /usr/lib/systemd/system/cups.service ]; then
  15. if [ -f /var/run/qubes-service/cups ]; then
  16. /usr/sbin/service cups start
  17. fi
  18. fi
  19. exit 0