Tiny Core Linux

General TC => Programming & Scripting - Unofficial => Topic started by: xor on July 20, 2020, 12:49:14 PM

Title: I would like to add a personalized installation script named "1.sh" to CoreTCL
Post by: xor on July 20, 2020, 12:49:14 PM
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
Title: Re: I would like to add a personalized installation script named "1.sh" to CoreTCL
Post by: Rich on July 20, 2020, 03:10:57 PM
Hi xor
Code: [Select]
cp 1.sh /usr/bin
ln -s /usr/bin/1.sh /usr/bin/1
Title: Re: I would like to add a personalized installation script named "1.sh" to CoreTCL
Post by: xor on July 21, 2020, 04:45:16 AM
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