diff options
author | Harald Hoyer <harald@redhat.com> | 2012-05-24 15:27:13 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2012-05-24 15:32:51 +0200 |
commit | 3d3035e80c7deab9b0bf7050228385664a022fe3 (patch) | |
tree | b0c8c5fd9d42f4e80d3322b8fb73d24a8b97a99a /test/TEST-01-BASIC | |
parent | test/TEST-01-BASIC: add /etc/localtime to test image (diff) | |
download | systemd-3d3035e80c7deab9b0bf7050228385664a022fe3.tar.gz systemd-3d3035e80c7deab9b0bf7050228385664a022fe3.tar.bz2 systemd-3d3035e80c7deab9b0bf7050228385664a022fe3.zip |
test/TEST-01-BASIC: add a defined rc.local
Diffstat (limited to 'test/TEST-01-BASIC')
-rwxr-xr-x | test/TEST-01-BASIC/test.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh index 5987edf3d..ace159f59 100755 --- a/test/TEST-01-BASIC/test.sh +++ b/test/TEST-01-BASIC/test.sh @@ -110,7 +110,12 @@ EOF # make the testsuite the 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 dracut_install sh bash setsid loadkeys setfont \ login sushell sulogin gzip sleep echo |