Installing from Linux: Difference between revisions
imported>Alanweber22 m The init script has a full path to systemd, so sed needs to match the full path name. |
imported>Alanweber22 m fix sed command from previous edit |
||
Line 59: | Line 59: | ||
Next we have to edit the target system init script to start a bash session instead of systemd. As that is the last thing the script does, adding an interactive program does not pose a problem. | Next we have to edit the target system init script to start a bash session instead of systemd. As that is the last thing the script does, adding an interactive program does not pose a problem. | ||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
# sed -i "s,exec /*systemd,exec /$BASH," $INIT | # sed -i "s,exec /.*systemd,exec /$BASH," $INIT | ||
</syntaxhighlight> | </syntaxhighlight> | ||