View Poll Results: Should knoppix scan for home and config by default?
- Voters
- 10. You may not vote on this poll
-
Senior Member
registered user
Small patch for knoppix-autoconfig
Currently if you have myconf=scan (or one of the equivalents =scan) then you will get an error message about failing to mount /dev/ as AES256 (really annoying if you've used splash as if seems to lock the machine), the problem being that knoppix-autoconfig doesn't check to see if it found a config and hence tries to mount an invalid point. A small patch to knoppix-autoconfig will sort it out. Find the following section:
Code:
MYCONFDIR="$(findfile knoppix.sh)"
MYCONFDEVICE="${MYCONFDIR##/mnt/}"
MYCONFDEVICE="/dev/${MYCONFDEVICE%%/*}"
MYCONFMOUNTPOINT="/mnt/${MYCONFDEVICE##/dev/}"
MYCONFDIR="${MYCONFMOUNTPOINT}"
And change it to:
Code:
MYCONFDIR="$(findfile knoppix.sh)"
if [ -n "$MYCONFDIR" ]; then
MYCONFDEVICE="${MYCONFDIR##/mnt/}"
MYCONFDEVICE="/dev/${MYCONFDEVICE%%/*}"
MYCONFMOUNTPOINT="/mnt/${MYCONFDEVICE##/dev/}"
MYCONFDIR="${MYCONFMOUNTPOINT}"
else
FOUND_CONFIG="none"
fi
Similar Threads
-
By Frunktz in forum General Support
Replies: 1
Last Post: 07-27-2005, 04:08 PM
-
By monkeyman2000 in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 09-19-2004, 06:34 PM
-
By bigal2000 in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 07-07-2004, 04:53 PM
-
By farawayuser in forum Customising & Remastering
Replies: 2
Last Post: 12-06-2003, 12:28 AM
-
By kim in forum General Support
Replies: 4
Last Post: 12-05-2003, 04:07 AM
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

Juniper MX204 +JUNOS and Dual Power Supply
$7299.99

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P
$149.99

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡
$109.99

Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch
$245.00

Juniper QFX5120-32C-AFI 32x100GbE Switch Dual AC Airflow In, Rail Kit Included
$8150.00

Juniper Networks MX204-HW-BASE *BRAND NEW FACTORY SEALED* READ DETAILS
$8199.99

Juniper QFX5120-48Y-AFO 48 x 1/10/25GB SFP28 + 8 x 40/100GB Switch w/Dual AC
$10499.99

Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic
$79.86

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management
$249.97

Juniper Networks Mist Wireless Access Points, Model AP45
$59.99