-
Senior Member
registered user
Just a suggestion
.
Greetings again, Jeffery.
I offer the following only if you feel comfortable making changes to your Knoppix.
You might edit /etc/rc.local with the command
Code:
sudo leafpad /etc/rc.local
to include a new single command line just before the 'exit 0' line, as follows:
Code:
#!/bin/bash
#
# rc.local
#
# Start local services after hardware detection
SERVICES="cups"
for i in $SERVICES; do
[ -x /etc/init.d/"$i" ] && /etc/init.d/"$i" start >/dev/null 2>&1
done
# PS1 re-definition command here.
exit 0
If you were to save and reboot with this /etc/rc.local, there should be no changes in your system.
If you use sudo leafpad /etc/rc.local to remove the initial '#' ahead of the command, and re-save
this changed /etc/rc.local, then I would expect this to change your PS1 for the remainder of this boot
and for subsequent re-boots until or unless your put the initial '#' back and reboot.
It's really not essential here, but it's good practice always to save an original configuration file
just in case somehow you goof up editing the original. With /etc/rc.local, since its permissions
are root:root, this means doing
Code:
sudo cp /etc/rc.local /etc/rc.local.orig
or something similar.
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

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$69.99

AMD Ryzen 7 5800X Desktop Processor (4.7GHz, 8 Cores, Socket AM4)
$169.99

Corsair RM750e 750W Fully Modular 80 Plus Gold ATX 3.1 PSU Certified Refurbished
$52.99

Intel Core i7-8700 @ 3.2Ghz - LGA1151 - SR3QS
$69.99

Intel 4th Gen Core i7-4790 SR1QF 3.60GHz (Turbo 4.00GHz) 8M 4-Core LGA-1150 CPU
$39.99

Intel Core i7-7700T 2.9GHz 8MB Socket LGA1151 Quad Core Processor SR339
$39.99

Intel i7-3770 Quad Core 3.40 Ghz Ivy Bridge Desktop Processor LGA 1155
$24.99

Intel 7th Gen Core i7-7700 3.6GHz 4 Core 8 Thread LGA1151 CPU SR338
$42.99

HP ProDesk 405 G8 Desktop AMD Ryzen 5 PRO 5650GE 16GB RAM 512GB SSD W11P
$260.49

Intel 6th Gen Core i7-6700K 4.0GHz (Turbo 4.2GHz) 4-Core LGA1151 CPU SR2L0
$38.00