/[clonezilla-sysresccd]/trunk/create-clonezilla-sysresccd/files/prerun.normal
ViewVC logotype

Contents of /trunk/create-clonezilla-sysresccd/files/prerun.normal

Parent Directory Parent Directory | Revision Log Revision Log


Revision 47 - (show annotations)
Thu May 20 12:12:53 2010 UTC (13 years, 10 months ago) by sng
File size: 1278 byte(s)
adding release scripts

1 #!/bin/sh
2 setterm -foreground yellow
3 echo '
4 ##########################################'
5 setterm -foreground white
6 echo -n " Modifying .bashrc ... "
7 echo >> /root/.bashrc
8 echo "##########################################" >> /root/.bashrc
9 echo "# aliases by Spiros" >> /root/.bashrc
10 echo "##########################################" >> /root/.bashrc
11 echo "# aliases..." >> /root/.bashrc
12 echo "alias ls='ls --color'" >> /root/.bashrc
13 echo "alias lf='ls -F --color'" >> /root/.bashrc
14 echo "alias l='ls -la --color'" >> /root/.bashrc
15 echo "##########################################" >> /root/.bashrc
16 setterm -foreground green;echo 'done';setterm -foreground white
17
18
19 #
20 # replace /live/image/restorecd with $restorecdFiles
21 #
22 echo -n " Copying new scripts... "
23 for script in what-cd continue-multi-cd reloc-img imginfo imgconvert sbminst;do
24 cp /live/image/restorecd/"$script" /usr/bin 2>/dev/null
25 chmod +x /usr/bin/"$script" 2>/dev/null
26 done
27 cp /live/image/restorecd/ocs-iso /opt/drbl/sbin
28 cp /live/image/restorecd/cust-menu /opt/drbl/sbin
29 chmod +x opt/drbl/sbin/ocs-iso
30 chmod +x opt/drbl/sbin/cust-menu
31 setterm -foreground green;echo 'done';setterm -foreground white
32
33 setterm -foreground yellow
34 echo '##########################################
35 '
36 setterm -foreground white
37

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26