运行时出现此错误:
udo-startup.sh 的内容是这样的:
#!/bin/bash
### BEGIN INIT INFO
# Provides: udo-startup.sh
# Required-Start: $local_fs $remote_fs $network $syslog
# Required-Stop: $local_fs $remote_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: -
# Description: -
### END INIT INF
ID=$(xinput list | grep -i touchpad | sed '/TouchPad/s/^.*id=\([0-9]*\).*$/\1/')
xinput set-prop $ID "Device Enabled" 0
exit 0
Run Code Online (Sandbox Code Playgroud)