我已经在我的 My Book World Edition 中安装了 pyload,我想让它在每次启动驱动器时启动。我在“inittab”中写了下面的行
::respawn:/opt/share/pyload/pyLoadCore.py
我的问题是,虽然 pyload 加载,这意味着该条目在“inittab”中被识别,但它会在之后自动停止。然后它会重新加载并再次停止(由于“respawn”命令)
daemon.info init: Starting pid 4298, console /dev/ttyS0: '/opt/share/pyload/pyLoadCore.py'
daemon.info init: Process '/opt/share/pyload/pyLoadCore.py' (pid 4298) exited. Scheduling it for restart.
daemon.info init: Starting pid 4320, console /dev/ttyS0: '/opt/share/pyload/pyLoadCore.py'
daemon.info init: Process '/opt/share/pyload/pyLoadCore.py' (pid 4320) exited. Scheduling it for restart.
daemon.info init: Starting pid 4321, console /dev/ttyS0: '/opt/share/pyload/pyLoadCore.py'
daemon.info init: Process '/opt/share/pyload/pyLoadCore.py' (pid 4321) exited. Scheduling it for restart.
daemon.info init: Starting pid 4322, console /dev/ttyS0: '/opt/share/pyload/pyLoadCore.py'
daemon.info init: Process '/opt/share/pyload/pyLoadCore.py' (pid 4322) exited. Scheduling it for restart.
有谁知道为什么会发生这种情况?