Source Code

Welcome to the Scripts page. This page is to post, for all to see, the scripts that are being used with Iccaros-Linux and to allow people to give their 2 cents worth. Please if you know of a better way of doing things.. Let me know (see email link below).
As stated on the home page, all scripts are copywrite under the GPL.
Here is the Main install Script for Iccaros-linux.
|
#!/bin/bash #create temp variable #this will start the main part of the install program # this function will umount disk partitions under /mnt/ and will remove the disk* folders for mntall to work #This is the function to partition your harddrive #this function will make the install folder and mount it # This function will allow you to choose what partition and install the os menu exit |
Here is the osinstall scripts called from the InstallMe scripts.. as this is a Mix of a Slax script I wanted to keep it as its own script.. and modify as needed. This script contains fixes for installing large images with OVFS
|
#!/bin/bash TMPFILE=/tmp/slax-installer-tmp function error() if [ “$1″ = “” -o ! -d “$1″ ]; then ls -aA1bd /mnt/* | while read LINE; if [ “`cat $TMPFILE 2>/dev/null`” = “” ]; then error “You have to mount your partition to /mnt/something first. Try ‘mntall’ script. press enter to go to menu “;fi dialog –title “SLAX Installer” –menu \ if [ ! “$?” = 0 ]; then exit; fi DEST=$1 dialog –infobox “Preparing files to $DEST …” 3 40 dialog –infobox “copying files to $DEST …” 3 40 mkdir $DEST/tmp/base ## Copy and install main imgs ## Copy and install modules ## Copy and install optional imgs mv -f $DEST/tmp/base/data/* $DEST dialog –infobox “creating new mountpoints in /mnt…” 3 40 dialog –infobox “copying kernel image (vmlinuz)…” 3 40 # fix fstab # disable guest account # setup lilo dialog –msgbox “Installation successfull” 5 28 |
Here is the mntall script.. this is a Slax Script but I also use it for USB plugins..
|
#!/bin/bash DDIR=/dev/discs if [ “$1″ = “daemon” ]; then |

