-
Senior Member
registered user

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
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 Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99

HP Proliant MicroServer Gen 8 2.23GHz Xeon 16GB RAM NO SSD
$249.99

Supermicro 505-2 Server
$280.00

Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter
$225.00

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3
$219.99

Supermicro SuperServer E300-15 - SYS-e300-9C - 16GB RAM 240GB Samsung SSD
$239.00

Supermicro SYS-222H-TN 2U 2x 6780E 144 Core 1.5TB DDR5 8x7.68TB NVME Rails
$79657.99

SuperMicro 4U CSE 847 36 Bay LFF Barebone 2x 1280W w/ 2x Bays 2.5 Rear w/Trays
$499.99

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC
$250.00