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
  •  


 VoIP IP Phone SIP WAN FV6020 Fanvil Gigabit Office Support IAX IAX2 picture

VoIP IP Phone SIP WAN FV6020 Fanvil Gigabit Office Support IAX IAX2

$35.56



Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black picture

Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black

$32.00



Cisco 8841 CP-8841-K9 VoIP Business IP Phone (Charcoal) picture

Cisco 8841 CP-8841-K9 VoIP Business IP Phone (Charcoal)

$49.00



Cisco VG202XM Analog Voice Gateway VoIP -- [NEW/FULL KIT] picture

Cisco VG202XM Analog Voice Gateway VoIP -- [NEW/FULL KIT]

$76.00



Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945 picture

Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945

$3.00



New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -  picture

New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -

$24.95



Grandstream GXP2100 4 line VoIP SIP Phone - Good Condition - Priced to Sell picture

Grandstream GXP2100 4 line VoIP SIP Phone - Good Condition - Priced to Sell

$19.95



Yealink T54W IP Phone, 16 VoIP Accounts. 4.3-Inch Color Display - Black picture

Yealink T54W IP Phone, 16 VoIP Accounts. 4.3-Inch Color Display - Black

$99.99



Yealink SIP-T41P PoE Ultra Elegant VoIP Phone  picture

Yealink SIP-T41P PoE Ultra Elegant VoIP Phone

$29.95



Lenovo smart tab M10 Plus FHD With Pro Wired Headset Stereo VOIP picture

Lenovo smart tab M10 Plus FHD With Pro Wired Headset Stereo VOIP

$149.00