A little background. These questions are focused on the tweaks I'm making for the next revision of mpdPup. As an audiophile oriented release I don't want unnecessary processes running, so I generally don't want X. This derivative is aimed at few audiences:
- Windows/Mac users coming from an iTunes/Mediamonkey/Foobar/etc world - CLI and config file phobic, so give them a GUI during the initial setup & whenever else required
- Technically oriented users who appreciate someone else doing the heavy lifting for them, but aren't afraid of a CLI (prefer remote management)
- (stretch) Users using embedded x86 boards such as the Alix or Soekris boards - most of which lack a VGA out
Bootup
- Detecting if a monitor is attached. Using ddcprobe right now. This is probably the most unwieldy piece, but it works on my hardware (except VMware which is quite vague about monitor support). (done)
- Initial boot rc.country locale wizard - modified rc.sysinit to use the above script Not working with recent woof snapshots
- Prompt the user to change the password if sshd is enabled - do it either from the ssh session or a monitor/keyboard session (done)
- SSHd - start in rc.d/rc.services instead of init.d (done)
- IP - dhcp default enabled in rc.network (done)
- Bonjour/Zeroconf so a user can find the server (done)
- Modify rc.shutdown to check if the tty that initiated the reboot is an SSH tty, and redirect output there instead of /dev/console.(done)
If you install Avahi then your hostname is most likely puppypc.local, as that's the default Puppy Linux hostname for most builds.
Note I haven't tested these pets explicitly - I've tested all the files, but they were extracted from the setup I'm using to build my remasters, let me know if something seems to be missing.
All this work was done on 4.2 Turbopup. I think most of these scripts haven't really changed for the 5.x branch, but I haven't done a diff to confirm. The only thing pending testing is whether this will work from a serial console.