WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: I would like to add a personalized installation script named "1.sh" to CoreTCL  (Read 2460 times)

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
I would like to add a personalized installation script named "1.sh" to CorePure64-11.1.iso.
> black screen after opening; I want to install it automatically when you type "1" at the prompt and press enter.
> how can i do that!?
> and in which folder can I add this!

Code: [Select]
tc@box:~$ tce-load -wi Xorg-7.7-3d firmware-radeon xf86-video-ati alsa-config pavucontrol htop windowmaker windowshot ezremaster xfe firefox_getLatest aterm wbar kmaps getlocale
« Last Edit: July 20, 2020, 01:07:23 PM by xor »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11674
Hi xor
Code: [Select]
cp 1.sh /usr/bin
ln -s /usr/bin/1.sh /usr/bin/1

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Thx

Code: [Select]
tc@box:~$ echo "#!/bin/sh" > 2
tc@box:~$ echo " tce-load -wi Xorg-7.7-3d firmware-radeon xf86-video-ati alsa-co
nfig pavucontrol htop windowmaker windowshot ezremaster xfe aterm wbar kmaps get
locale firefox_getLatest" >> 2
tc@box:~$ sudo chmod +x 2
tc@box:~$ ./2

Xorg-7.7-3d is already installed!
firmware-radeon is already installed!
xf86-video-ati is already installed!
alsa-config is already installed!
pavucontrol is already installed!
htop is already installed!
windowmaker is already installed!
windowshot is already installed!
ezremaster is already installed!
xfe is already installed!
aterm is already installed!
wbar is already installed!
kmaps is already installed!
getlocale is already installed!
firefox_getLatest is already installed!

tc@box:~$

 :)

Hi xor
Code: [Select]
cp 1.sh /usr/bin
ln -s /usr/bin/1.sh /usr/bin/1