I don't know If it is the last script run but the file /etc/init.d/bootmisc.sh is where I usually put commands for my scripts to be run or settings to be set in.
How do I get some script to run as part of the boot process - and be sure that it is the last thing run at boot? Oh, and this is on an installed knoppix -
![]()
...even I know you cant do it off of the disc.![]()
I don't know If it is the last script run but the file /etc/init.d/bootmisc.sh is where I usually put commands for my scripts to be run or settings to be set in.
--I put things in a script /etc/init.d/boot.local, and ' ln /etc/init.d/boot.local /etc/rc5.d/S99bootlocal -sfn '.
--Don't forget to chmod +x it. This script will only be run in runlevel 5, but you can modify the desired runlevel to work on other systems (red hat, suse, etc.) This method will work with any distro that uses SYSV runlevels but doesn't have bootmisc.sh.
Originally Posted by zipster

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...
$9.64
NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99
Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99
5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99
TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99
10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99
TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern
$15.25
Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00
D-Link DGS-1210-28P 28-Port PoE Gigabit Web Smart Switch With Cord
$49.99
Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks
$224.95