Update of /cvsroot/morphix/scripts-main/kde32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10329 Added Files: background.png boot-menu.b debguin.png include.sh init.sh loadmod.sh main_module strip-apt Log Message: * initial release --- NEW FILE: background.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: boot-menu.b --- (This appears to be a binary file; contents omitted.) --- NEW FILE: debguin.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: include.sh --- #! /bin/bash # You shouldn't need to change anything below this line PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:." CMDLINE="$(cat /proc/cmdline)" stringinstring(){ case "$2" in *$1*) return 0;; esac return 1 } getbootparam(){ stringinstring " $1=" "$CMDLINE" || return 1 result="${CMDLINE##*$1=}" result="${result%%[ ]*}" echo "$result" return 0 } USER="$(getbootparam username)" --- NEW FILE: init.sh --- #! /bin/bash for file in /morphix/rc.m/* do echo "Running $file" $file start done --- NEW FILE: loadmod.sh --- #!/bin/sh # Minimodule loading has been moved to the base module, # so now all this script does is execute the init.sh script in the # chroot-fs that's all ready for use... echo "Chrooting to MainModule" chroot /mnt/main sh /morphix/init.sh # --- NEW FILE: main_module --- LightGUI A MainModule including X, icewm, and a host of Gtk/X applications, useful for everyday use. --- NEW FILE: strip-apt --- #!/bin/sh rm var/lib/apt/lists/* rm var/lib/dpkg/available* rm var/lib/dpkg/*-old rm var/cache/apt/available rm var/cache/apt/*.bin rm var/cache/apt/archives/partial/* rm var/cache/apt/archives/* rm var/cache/debconf/*-old touch var/lib/dpkg/available |