2012-01-10 12:10:16 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-10-30 15:13:56 +01:00
|
|
|
/usr/lib/qubes/update-proxy-configs
|
2012-05-31 02:37:53 +02:00
|
|
|
|
2015-10-05 06:12:17 +02:00
|
|
|
if [ -n "`ls -A /usr/local/lib 2>/dev/null`" -o \
|
|
|
|
-n "`ls -A /usr/local/lib64 2>/dev/null`" ]; then
|
|
|
|
ldconfig
|
|
|
|
fi
|
|
|
|
|
2012-01-10 12:10:16 +01:00
|
|
|
# Set IP address again (besides action in udev rules); this is needed by
|
2013-03-14 04:23:32 +01:00
|
|
|
# DispVM (to override DispVM-template IP) and in case when qubes-ip was
|
2012-01-10 12:10:16 +01:00
|
|
|
# called by udev before loading evtchn kernel module - in which case
|
2013-06-07 05:20:55 +02:00
|
|
|
# qubesdb-read fails
|
2013-03-13 02:26:40 +01:00
|
|
|
INTERFACE=eth0 /usr/lib/qubes/setup-ip
|
2012-01-10 12:10:16 +01:00
|
|
|
|
|
|
|
[ -x /rw/config/rc.local ] && /rw/config/rc.local
|
|
|
|
|
|
|
|
# Start services which haven't own proper systemd unit:
|
|
|
|
|
2015-09-01 17:19:59 +02:00
|
|
|
if [ ! -f /usr/lib/systemd/system/cups.service ]; then
|
2012-01-10 12:10:16 +01:00
|
|
|
if [ -f /var/run/qubes-service/cups ]; then
|
2014-10-19 04:11:15 +02:00
|
|
|
/usr/sbin/service cups start
|
2012-01-10 12:10:16 +01:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|