Results 1 to 3 of 3

Thread: Run at Boot?

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Location
    Minneapolis MN
    Posts
    6

    Run at Boot?

    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.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    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.

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: Run at Boot?

    --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.

    Quote Originally Posted by zipster
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S... picture

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...

$9.64



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

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 picture

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 picture

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 picture

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 picture

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 picture

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 picture

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 picture

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks

$224.95