Hey guys, recently I tried to run an simple on line script when booting up on my archlinux laptop. The script is
, and the .service file is looks like
Code:
[Unit]
Description=My script for disable error message in console
[Service]
ExecStart=/usr/bin/dmesg_D
[Install]
WantedBy=getty.target
I need this becasue my new laptop yoga2 keeps output an error message and I cannot fix it, as what
Wiki does, use the script to disable the output. But somehow it fails to run, the error message is looks like
Code:
isable_print_message.service - My script for disable error message in console
Loaded: loaded (/etc/systemd/system/disable_print_message.service; enabled)
Active: failed (Result: exit-code) since Tue 2014-03-04 10:18:38 CST; 40min ago
Process: 228 ExecStart=/usr/bin/dmesg_D (code=exited, status=203/EXEC)
Main PID: 228 (code=exited, status=203/EXEC)
CGroup: /system.slice/disable_print_message.service
Mar 04 10:18:38 localhost systemd[1]: Starting My script for disable error message in console...
Mar 04 10:18:38 localhost systemd[1]: Started My script for disable error message in console.
Mar 04 10:18:38 localhost systemd[1]: disable_print_message.service: main process exited, code=exited, status=203/EXEC
Mar 04 10:18:38 localhost systemd[1]: Unit disable_print_message.service entered failed state.
Truly I dont know why and I cant find any information here.
So guys, where am I wrong? Any helps? thanks verymuch