General TC > Programming & Scripting - Unofficial

I would like to add a personalized installation script named "1.sh" to CoreTCL

(1/1)

xor:
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: ---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
--- End code ---

Rich:
Hi xor

--- Code: ---cp 1.sh /usr/bin
ln -s /usr/bin/1.sh /usr/bin/1
--- End code ---

xor:
Thx


--- Code: ---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:~$
--- End code ---

 :)


--- Quote from: Rich on July 20, 2020, 03:10:57 PM ---Hi xor

--- Code: ---cp 1.sh /usr/bin
ln -s /usr/bin/1.sh /usr/bin/1
--- End code ---

--- End quote ---

Navigation

[0] Message Index

Go to full version