chiark / gitweb /
test/TEST-01-BASIC: add a defined rc.local
[elogind.git] / test / TEST-01-BASIC / test.sh
index 5987edf3de49df085f83a58f3c5372bef43602b8..ace159f59ae268b8f9d321df5f02ffd762146896 100755 (executable)
@@ -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