diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-08 01:55:11 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-08 01:55:11 (GMT) |
commit | 6c8f178b6c8874623e780d2c049a49b780237654 (patch) | |
tree | 31cd168b3e87c9777dc1bcd5d57f4e806a3c97f7 /abs/core-testing/live-installer/create_master.sh | |
parent | 4287d6026a61f8760633574c059f6e2dead2619d (diff) | |
download | linhes_pkgbuild-6c8f178b6c8874623e780d2c049a49b780237654.zip linhes_pkgbuild-6c8f178b6c8874623e780d2c049a49b780237654.tar.gz linhes_pkgbuild-6c8f178b6c8874623e780d2c049a49b780237654.tar.bz2 |
rename live-installer to LinHES-config
Diffstat (limited to 'abs/core-testing/live-installer/create_master.sh')
-rwxr-xr-x | abs/core-testing/live-installer/create_master.sh | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/abs/core-testing/live-installer/create_master.sh b/abs/core-testing/live-installer/create_master.sh deleted file mode 100755 index 1e641b4..0000000 --- a/abs/core-testing/live-installer/create_master.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/bash -#CD=/mnt/cd -CD=/data/srv/tftp/live -DESTCD=/data/srv/tftp/CD -DEST=/data/srv/tftp/masterbuild -MODULES=$DESTCD/MythVantage/base/ -myip=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'|head -n1` - -mkdir -p $DESTCD -mkdir -p $DEST - -mount $CD -status=0 -if [ -f $CD/MythVantage/base/data.lzm ] -then - status=0 -else - status=1 -fi -if [ x$status = x0 ] -then - echo "copying to disk" - cp -rp $CD/* $DESTCD - cd $MODULES - for i in *.lzm - do - echo $i - lzm2dir $i \/$DEST - done - for i in sys proc dev tmp - do - mkdir $DEST/$i - done - chmod 777 /$DEST/tmp - mknod $DEST/dev/null c 1 3 - mknod $DEST/dev/null c 1 5 - mknod $DEST/dev/console c 5 1 - chmod +s $DEST/usr/bin/Xorg - chmod +s $DEST/usr/bin/crontab - chmod +s $DEST/usr/bin/sudo - chmod +s $DEST/bin/mount -fi -if [ ! -f $DEST/etc/fstab.bak ] -then - cp $DEST/etc/fstab $DEST/etc/fstab.bak -fi -tac $DEST/etc/fstab.bak|tail +4|tac > $DEST/etc/fstab -echo "$myip:/data/srv/tftp/masterbuild / nfs" >> $DEST/etc/fstab -echo "/data/srv/tftp/masterbuild *(rw,no_root_squash,anonuid=1000,anongid=1000)" >> /etc/exports - - -exportfs -arv - -#copy in the modules -mkdir -p $DEST/mnt/live/mnt/ -mv $DESTCD/* $DEST/mnt/live/mnt/ - |