Merge pull request #4376 from vpeter4/rpi2_console

projects/RPi*: use correct environment for serial console
This commit is contained in:
Stephan Raue 2015-10-13 22:27:10 +02:00
commit b5cee13ce9
2 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,8 @@ ConditionKernelCommandLine=console
[Service]
WorkingDirectory=/storage
ExecStart=/bin/sh -c '. /etc/profile; exec /bin/sh'
Environment="ENV=/etc/profile"
ExecStart=/bin/sh
Restart=always
RestartSec=0
StandardInput=tty

View File

@ -5,7 +5,8 @@ ConditionKernelCommandLine=console
[Service]
WorkingDirectory=/storage
ExecStart=/bin/sh -c '. /etc/profile; exec /bin/sh'
Environment="ENV=/etc/profile"
ExecStart=/bin/sh
Restart=always
RestartSec=0
StandardInput=tty