We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 192a6e9 commit 565916cCopy full SHA for 565916c
test/test-functions
@@ -1961,13 +1961,9 @@ check_result_qemu() {
1961
}
1962
1963
create_rc_local() {
1964
- dinfo "Create rc.local"
1965
- mkdir -p "${initdir:?}/etc/rc.d"
1966
- cat >"$initdir/etc/rc.d/rc.local" <<EOF
1967
-#!/usr/bin/env bash
1968
-exit 0
1969
-EOF
1970
- chmod 0755 "$initdir/etc/rc.d/rc.local"
+ dinfo "Mask rc.local generator"
+ mkdir -p "${initdir:?}/etc/systemd/system-generators/"
+ ln -s /dev/null "$initdir/etc/systemd/system-generators/systemd-rc-local-generator"
1971
1972
1973
install_execs() {
0 commit comments