/etc/bochs-init/init.sh is in bochs 2.6-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #!/bin/sh
mount / -o rw,remount
export PATH=/usr/X11R6/bin:$PATH
while true
do
echo -n "
- Run [B]ochs
- Run [S]hell
- [R]eboot
Choose an option: "
read REPLY
case $REPLY in
B|b)
startx $(which bochs-bin) -qf /etc/bochs-init/bochsrc
;;
S|s)
login
;;
R|r)
sync
mount / -o ro,remount
reboot
;;
esac
done
|