-
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

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99

Lenovo THINKPAD L15 GEN 4 15.6" 16GB, Thunder Black
$258.00

Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11
$229.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad T14 G2 14-Inch AMD Ryzen R5 5650U 16GB, 512GB SSD Win 11 Pro
$398.99

Lenovo - IdeaPad Slim 3i 15.6" Full HD Laptop - Intel Processor N355 2025- 8G...
$349.99

LENOVO THINKPAD E15 GEN 4 INTEL i7-1255U 1.70GHZ 8GB - NO SSD AC OS - USED
$244.95

Lenovo - Yoga 7i 2-in-1 16" 2K Touchscreen Laptop - Intel Core Ultra 5 Proces...
$749.99

Lenovo Thinkbook 15 G2, i5 1135G7, 256GB, 8GB, 20VE003GUS no OS, Iris Xe, 15.6"
$200.00

Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core [email protected] Laptop
$220.36