-
Auto reboot after shutdown
I have a problem with knoppix 3.9. I want it to instantly reboot/shutdown without ejecting the cd and pressing return.
For this I have edited the isolinux.cfg file like that:
Code:
DEFAULT linux
APPEND ramdisk_size=100000 init=/etc/init lang=de apm=power-off vga=791 initrd=minirt.gz nomce quiet noeject noprompt myconfig=/mnt/uba1 BOOT_IMAGE=knoppix
TIMEOUT 1
KBDMAP german.kbd
PROMPT 1
DISPLAY boot.msg
F1 boot.msg
F2 f2
F3 f3
LABEL knoppix
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=de apm=power-off vga=791 initrd=minirt.gz nomce quiet noeject noprompt myconfig=/mnt/uba1 BOOT_IMAGE=knoppix
I first had problems with knoppix not executing any of this command and I then tried to change to order of the command and now it loads the config automatically but still no aout shutdown/reboot.
It worked fine for the previous knoppix 3.4 I have also used but now the system just hangs up without message and without rebooting.
Any help would be appriciated!
Thanks in advance!
Neo
-
Senior Member
registered user
Re: Auto reboot after shutdown

Originally Posted by
NeoAnderson
I have a problem with knoppix 3.9. I want it to instantly reboot/shutdown without ejecting the cd and pressing return.
Take a look at /etc/init.d/knoppix-reboot file. Section
Code:
if [ -z "$NOEJECT" ]; then
# Turn on autoeject of CD-Roms
for dev in /proc/sys/dev/cdrom*/lock; do [ -f "$dev" ] && echo 0 > "$dev"; done
for dev in /proc/sys/dev/cdrom*/autoeject; do [ -f "$dev" ] && echo 1 > "$dev"; done
fi
is what you would like to modify. I have not tried that myself but I think commenting those lines out would do the job.
-tapsa-
Similar Threads
-
By kinrik in forum MS Windows & New to Linux
Replies: 5
Last Post: 04-05-2007, 02:10 AM
-
By ThE_R_o_B in forum General Support
Replies: 5
Last Post: 04-22-2005, 04:20 AM
-
By djinn in forum General Support
Replies: 1
Last Post: 02-02-2004, 03:01 PM
-
By maddany in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-16-2003, 02:19 AM
-
By _CaLeB_ in forum Hardware & Booting
Replies: 5
Last Post: 03-31-2003, 06:20 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99

Clear Touch Interactive Module CTI PCMOD PC55 ST i5 6core,8GB DDR4,256GB SSD NEW
$225.00

AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)
$189.00

AMD Ryzen 7 7800X3D 8-Core 5.0GHz CPU Socket AM5 96MB L3 Cache
$350.00

AMD Ryzen 7 9850X3D 8-Core 16-Thread 5.6GHz 120W AM5 CPU 100-100001973WOF
$435.99

Dell - XPS 13.4" 3K Touchscreen Laptop - Intel Core 5 Series 3 320 2026 - 8GB...
$599.99

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW
$399.00

Intel Core i9-9900K Coffee Lake 8-Core, 16-Thread, 3.6 GHz (LGA 1151)
$189.99

HP ZBook Firefly 14 G8 FHD Touch, Core i7-1185G7, 16GB, 512GB NVMe | Grade B/C
$262.95

Intel Core i9-9900 SRG18 3.10GHz 16MB 8-Core LGA1151 CPU Processor
$177.21