I am trying to run a little init script instead of sysvinit, which throws me into a shell. My code for init script:
#!/bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/sbin mount -t proc proc /proc mount -t sysfs sysfs /sys mount -t devtmpfs none /dev exec sh
But when it changes to the shell, this error appears:
sh: cannot set terminal process group (-1): Inappropriate ioctl for device sh: no job control in this shell
The tty command returns /dev/console . They throw me as root, and the set of commands that I tried works correctly.
shell
Arnold
source share