1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
|
short descriptions of the role and function of each script and configuration file for lessdisks.
lessdisks
/etc
lessdisks-install.conf
configuration file for the lessdisks-install script.
generated from questions asked by debconf during post-install of the package.
/usr/sbin
lessdisks-install
prepares a terminal filesystem for exporting via NFS.
lessdisks-configure
after installing the terminal filesystem, this walks you through some optional steps to set up the terminal,
such as configuring and restarting NFS and DHCP.
lessdisks-chroot
chroots into the terminal filesystem(usually /var/lib/lessdisks),
sets environment variables which cause start-stop-daemon to behave in a no-action mode.
it also mounts $lessdisks_path/proc, since some programs expect it to be mounted in order to function.
lessdisks-aptget
installs packages into the terminal filesystem.
calls "lessdisks-chroot $aptget_binary $@". aptget_binary defaults to "apt-get"
lessdisks-keycopy
copies the ssh host keys for the server into the terminal's root filesystem.
lessdisks-purge
an ugly hackish script which will totally uninstall lessdisks from your system.
lessdisks-setup
configures a terminal. it grabs information from the terminal using wget, such as the macaddress and XF86Config.
it modifies /etc/lessdisks/terminals.config to tie a macaddress to a hostname, and creates
/etc/lessdisks/terminals/$hostname, which may contain the runlevel and xserver information.
lessdisks-terminal
/etc/init.d
lessdisks
at terminal boot, this script determines the configuration for a terminal based on macaddress,
mounts and populates the writeable filesystem (/var/state/lessdisks) and runs other lessdisks configuration
scripts (/usr/share/lessdisks/terminal-types/rc.*), such as the xterminal configuration.
lessdisks-session
starts a lessdisks session, if set, and switches to the defined runlevel.
values are determined from /etc/lessdisks/terminals/$hostname
/etc/lessdisks
terminals.config
hostname to macaddress table. other configuration files are based on hostname.
/usr/share/lessdisks
lessdisks-terminal-install
script used by lessdisks-install during initial terminal filesystem creation.
/sbin
diskmods
loads and/or reloads IDE hard-drive modules.
start-stop-daemon
calls the real start-stop-daemon unless an environment variable is set, in which case it does nothing.
this is useful when installing packages into the chroot, so that daemons don't get started on the server from the lessdisks chroot.
dpkg-divert is used to move aside the real start-stop-daemon.
/usr/sbin
lessdisks-export
starts a small web server, such as thy or thttpd, which is used to export configuration files to the server when
configuring a new terminal.
lessdisks-terminal-setup
a terminal configuration script used when configuring a terminal without X.
it runs the lessdisks-setup script on the server via ssh.
mkbootfloppy
simple script which copies floppy images from /boot/disks to /dev/fd0
update-lessdisks-kernels
useful for creating a network bootable image (NBI) for use with etherboot.
this should be run whenever a kernel is installed, configured in /etc/kernel-img.conf
lessdisks-xterminal
/etc/lessdisks
x.config
configuration values for xterminals, such as the X configuration program, and various ways to start X.
/usr/share/lessdisks/terminal-types
autoconfig.xterminal
called when automatically configuring an xterminal
rc.xterminal
called when booting a terminal
setup.xterminal
called when configuring a new terminal. grabs X settings and XF86Config from the terminal.
/usr/bin
X-lessdisks
executes X server configured in /var/state/lessdisks/etc/, using the appropriate XF86Config file.
/usr/sbin
lessdisks-xsession
starts X in runlevel 4 or 5, with options defined in x.config
|