Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: How to start automatically a script after that the knoppix user is logged on.

  1. #11
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Quote Originally Posted by Marietto
    I re-booted Knoppix with runlevel 2,but when it has finished to be loaded in memory,the script.sh is not started.
    Where did you look for the output of /etc/rc.local ? If you read the file /etc/init.d/knoppix-autoconfig you will find the command line where /etc/rc.local is executed on virtual terminal #12. I think you have to switch over to vt #12. But if there are additional messages on this vt coming from services already started or the kernel it might be difficult to identify rc.local's output. Thus, I think, altering the vt from #12 to #11 could help. In addition I would switch over to vt #11 before the read command is executed. The old command line in /etc/init.d/knoppix-autoconfig is
    Code:
    [ -x /etc/rc.local ] && /usr/bin/openvt -c 12 -f -- /etc/rc.local
    The new command line could be
    Code:
    [ -x /etc/rc.local ] && /usr/bin/openvt -c 11 -w -b -f -s -- /etc/rc.local

  2. #12
    Junior Member registered user
    Join Date
    Mar 2009
    Posts
    17
    It takes some time to display the message "Insert the Windows installation disk" ,but it works. Thanks.

Page 2 of 2 FirstFirst 12

Posting Permissions

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


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1299.99



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$149.99



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



Unused IBM 09P0037 MAINBOARD For  RS/6000 7044-170 P-Series picture

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series

$375.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$108.92



IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU picture

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU

$999.99



IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS picture

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS

$80.00



IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5

IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5" Server Hard Drive

$200.00



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$250.00



Lot of 2 IBM blade center Type H chassis 8852 picture

Lot of 2 IBM blade center Type H chassis 8852

$559.00