summaryrefslogtreecommitdiffstats
path: root/remote/tools/systemd/systemd.build
diff options
context:
space:
mode:
authorJonathan Bauer2013-01-09 13:55:33 +0100
committerJonathan Bauer2013-01-09 13:55:33 +0100
commit1262ffdc3168d1fc3ac7857659e093603f16747f (patch)
tree7e93530511671b33a7d546617ee985fd5bcd1e04 /remote/tools/systemd/systemd.build
parentswp's (diff)
downloadtm-scripts-1262ffdc3168d1fc3ac7857659e093603f16747f.tar.gz
tm-scripts-1262ffdc3168d1fc3ac7857659e093603f16747f.tar.xz
tm-scripts-1262ffdc3168d1fc3ac7857659e093603f16747f.zip
[systemd/udev] automatic networking on startup
Diffstat (limited to 'remote/tools/systemd/systemd.build')
-rw-r--r--remote/tools/systemd/systemd.build12
1 files changed, 6 insertions, 6 deletions
diff --git a/remote/tools/systemd/systemd.build b/remote/tools/systemd/systemd.build
index 981e87b6..14cef7e1 100644
--- a/remote/tools/systemd/systemd.build
+++ b/remote/tools/systemd/systemd.build
@@ -35,14 +35,14 @@ build () {
}
post_copy() {
+ # debug shell on tty9
[ ! -d $INIT_DIR/etc/systemd/system/sysinit.target.wants ] && mkdir -p $INIT_DIR/etc/systemd/system/sysinit.target.wants
- #debug shell on tty9
cp $TOOL_DIR/$TOOL/data/debug-shell.service $INIT_DIR/etc/systemd/system
ln -s ../debug-shell.service $INIT_DIR/etc/systemd/system/sysinit.target.wants
-
+
# dont clear systemd log at startup
-# sed -i.bak "s/ExecStart=-\/sbin\/agetty %I 38400/ExecStart=-\/sbin\/agetty %I 38400 --noclear/g" \
-# $INIT_DIR/usr/lib/systemd/system/getty@.service
- sed -i.bak "s/TTYVTDisallocate=yes/TTYVTDisallocate=no/g" \
- $INIT_DIR/usr/lib/systemd/system/getty@.service
+ sed -i.bak "s/TTYVTDisallocate=yes/TTYVTDisallocate=no/g" $INIT_DIR/usr/lib/systemd/system/getty@.service
+
+ # copy custom network@.service
+ cp $TOOL_DIR/$TOOL/data/network@.service $INIT_DIR/etc/systemd/system
}