Make interactive scripts work
authorMarcos Mello <marcosfrm@gmail.com>
Tue, 2 Jan 2018 10:19:46 +0000 (08:19 -0200)
committerMarcos Mello <marcosfrm@gmail.com>
Tue, 2 Jan 2018 10:19:46 +0000 (08:19 -0200)
Effectively connect stdin/stdout/stderr to /dev/console. Fixes grml/grml#71.

systemd/grml-autoconfig.service

index 5397dcf..c2a1c99 100644 (file)
@@ -8,8 +8,8 @@ After=rc-local.service
 [Service]
 ExecStart=/etc/init.d/grml-autoconfig
 Type=oneshot
 [Service]
 ExecStart=/etc/init.d/grml-autoconfig
 Type=oneshot
+StandardInput=tty
 StandardOutput=tty
 StandardOutput=tty
-StandardError=journal+console
 
 [Install]
 WantedBy=grml-boot.target
 
 [Install]
 WantedBy=grml-boot.target