mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-26 05:35:21 +07:00
test/TEST-01-BASIC: add a defined rc.local
This commit is contained in:
parent
7c1856aacd
commit
3d3035e80c
@ -110,7 +110,12 @@ EOF
|
|||||||
|
|
||||||
# make the testsuite the default target
|
# make the testsuite the default target
|
||||||
ln -fs testsuite.target $initdir/etc/systemd/system/default.target
|
ln -fs testsuite.target $initdir/etc/systemd/system/default.target
|
||||||
|
mkdir -p $initdir/etc/rc.d
|
||||||
|
cat >$initdir/etc/rc.d/rc.local <<EOF
|
||||||
|
#!/bin/bash
|
||||||
|
exit 0
|
||||||
|
EOF
|
||||||
|
chmod 0755 $initdir/etc/rc.d/rc.local
|
||||||
# install basic tools needed
|
# install basic tools needed
|
||||||
dracut_install sh bash setsid loadkeys setfont \
|
dracut_install sh bash setsid loadkeys setfont \
|
||||||
login sushell sulogin gzip sleep echo
|
login sushell sulogin gzip sleep echo
|
||||||
|
Loading…
Reference in New Issue
Block a user