2012-01-10 12:10:16 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2016-10-22 17:43:16 +02:00
|
|
|
# Source Qubes library.
|
2017-09-30 04:56:02 +02:00
|
|
|
# shellcheck source=init/functions
|
2016-10-22 17:43:16 +02:00
|
|
|
. /usr/lib/qubes/init/functions
|
|
|
|
|
2015-10-30 15:13:56 +01:00
|
|
|
/usr/lib/qubes/update-proxy-configs
|
2012-05-31 02:37:53 +02:00
|
|
|
|
2017-09-30 04:49:21 +02:00
|
|
|
if [ -n "$(ls -A /usr/local/lib 2>/dev/null)" ] || \
|
|
|
|
[ -n "$(ls -A /usr/local/lib64 2>/dev/null)" ]; then
|
2015-10-05 06:12:17 +02:00
|
|
|
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
|
|
|
|
2016-10-22 17:43:16 +02:00
|
|
|
if [ -x /rw/config/rc.local ] ; then
|
|
|
|
/rw/config/rc.local
|
2012-01-10 12:10:16 +01:00
|
|
|
fi
|