Commit f0e93e6 1 parent 5a29270 commit f0e93e6 Copy full SHA for f0e93e6
File tree 2 files changed +10
-5
lines changed
2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,10 @@ if mountpoint -q /rw ; then
31
31
# This script will be executed at every VM startup, you can place your own
32
32
# custom commands here. This includes overriding some configuration in /etc,
33
33
# starting services etc.
34
-
34
+ #
35
+ # Executable scripts located in /rw/config/rc.local.d are executed
36
+ # immediately before this rc.local.
37
+ #
35
38
# Example for overriding the whole CUPS configuration:
36
39
# rm -rf /etc/cups
37
40
# ln -s /rw/config/cups /etc/cups
49
52
#
50
53
# It is a good place for custom rules and actions that should occur when the
51
54
# firewall service is started.
52
- #
55
+ #
53
56
# Executable scripts located in /rw/config/qubes-firewall.d are executed
54
57
# immediately before this qubes-firewall-user-script.
55
58
EOF
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ if [ -n "$(ls -A /usr/local/lib 2>/dev/null)" ] || \
11
11
ldconfig
12
12
fi
13
13
14
- if [ -x /rw/config/rc.local ] ; then
15
- /rw/config/rc.local
16
- fi
14
+ for init_script in /rw/config/rc.local.d/* /rw/config/rc.local; do
15
+ [ -f " ${init_script} " ] || continue
16
+ [ -x " ${init_script} " ] || continue
17
+ " ${init_script} "
18
+ done
You can’t perform that action at this time.
0 commit comments