Added taskDeleteHook clean up function to support commands after Ctrl+C (#69)
Log:
```
sysToMonitor: reboot type BOOT_NORMAL
0x1f03d20 (tRootTask): logging started to /tyCo/0 [3], queue size 50
0x1f03d20 (tRootTask): before usrNetInit()
0x1f03d20 (tRootTask): after usrNetInit()
Wait Flash and Network initialisation ...
Error reading target netmask information.
Defaulting netmask to 0xFFFFFF00.
Using default network mask = 0xFFFFFF00
User Network Init ... done
Launch CMT interface ... Done
[VxWorks Boot]:
0x1f03d20 (tRootTask): sysStartNetDev: Failed to set mask on device motfcc, unit: 1
RTClock set at: 5/1/2000 a 0:14:22
Instantiating /RAMDEV as rawFs, device = 0x40001
Formatting /RAMDEV for DOSFS
Instantiating /RAMDEV as rawFs, device = 0x40001
Formatting...OK.
Ram Disk </RAMDEV> format and mount done.
Verify Flash structure
Flash structure check finished
@
boot device : motfcc
unit number : 0
processor number : 0
host name : host
file name : vxWorks
inet on ethernet (e) : 192.168.0.18
host inet (h) : 192.168.0.110
user (u) : user
ftp password (pw) : password
flags (f) : 0x4
target name (tn) : C264
other (o) : motfcc
Loading... 5618296 + 408 + 624 + 616724
Starting at 0x10000...
Adding 15079 symbols for standalone.
VxWorks
Copyright 1984-2026 Wind River Systems, Inc.
CPU: Schneider Electric C264 CPU3 - MPC8270 PowerQUICC II core Frequency 262 MHz
Runtime Name: VxWorks
Runtime Version: 6.9
BSP version: 6.9/D0.22
Created: Jun 23 2026 01:17:59
ED&R Policy Mode: Deployed
WDB Comm Type: WDB_COMM_END
WDB: Agent Disabled.
-> cmd
[vxWorks]# genrsa -out pkey_new.pem 1024
[vxWorks]#
0x0007be50 vxTaskEntry +0x48 : 0x003a4788 ()
0x003a4788 shellTask +0x4a8: shellExec ()
0x003a41b0 shellExec +0x78 : 0x003a3eb8 ()
0x003a3fe8 shellTaskDefaultBaseNameGet+0x81c: ledRead2 ()
0x00386928 ledRead2 +0x18c: 0x003acaac ()
0x003acaac viLedLibInit +0x150: read ()
0x00363930 read +0x30 : 0x0036384c ()
0x003638bc close +0xe0 : iosRead ()
0x00366030 iosRead +0x54 : tyRead ()
0x0036da78 tyRead +0x34 : semTake (0x1bc938)
0x004a1150 semTake +0x7c : semBTake ()
Shell task 'tShell0' restarted...
[vxWorks]# genrsa -out pkey_new1.pem 1024
[vxWorks]#
0x0007be50 vxTaskEntry +0x48 : 0x003a4788 ()
0x003a4788 shellTask +0x4a8: shellExec ()
0x003a41b0 shellExec +0x78 : 0x003a3eb8 ()
0x003a3fe8 shellTaskDefaultBaseNameGet+0x81c: ledRead2 ()
0x00386928 ledRead2 +0x18c: 0x003acaac ()
0x003acaac viLedLibInit +0x150: read ()
0x00363930 read +0x30 : 0x0036384c ()
0x003638bc close +0xe0 : iosRead ()
0x00366030 iosRead +0x54 : tyRead ()
0x0036da78 tyRead +0x34 : semTake (0x1bc938)
0x004a1150 semTake +0x7c : semBTake ()
Shell task 'tShell0' restarted...
[vxWorks]#
0x0007be50 vxTaskEntry +0x48 : 0x003a4788 ()
0x003a4788 shellTask +0x4a8: shellExec ()
0x003a41b0 shellExec +0x78 : 0x003a3eb8 ()
0x003a3fe8 shellTaskDefaultBaseNameGet+0x81c: ledRead2 ()
0x00386928 ledRead2 +0x18c: 0x003acaac ()
0x003acaac viLedLibInit +0x150: read ()
0x00363930 read +0x30 : 0x0036384c ()
0x003638bc close +0xe0 : iosRead ()
0x00366030 iosRead +0x54 : tyRead ()
0x0036da78 tyRead +0x34 : semTake (0x10)
0x004a1150 semTake +0x7c : semBTake ()
Shell task 'tShell0' restarted...
[vxWorks]#
[vxWorks]# C
-> tss_symlist_show
=== TSS Symbol Table ===
TINFO ONCE_ARGSTR TSSKEYNAME TSSKEYVAL STATE CLONE
-------------------------------------------------------------------------------------------------------------------------------------
=== End of Table ===
value = 0 = 0x0
-> cmd
[vxWorks]# rand -hex 128
d187fc72364bbfb675724c93a0e9331ce2e51d519f32e7d258d88706e40c2faf7f575a307cc5965f9945b9df0548cdbd3a0d9f832edb803166a09be9449b01df94656ff1df3b7c0bf398e1e03225e9189534325b050dde670315eb4607cbbc4eab108ba8f60effb0111246bd6beec80b4367260ad9e599410ada2f49eec9bbb6
[vxWorks]# C
->
0x0007be50 vxTaskEntry +0x48 : 0x003a4788 ()
0x003a4788 shellTask +0x4a8: shellExec ()
0x003a41b0 shellExec +0x78 : 0x003a3eb8 ()
0x003a3fe8 shellTaskDefaultBaseNameGet+0x81c: ledRead2 ()
0x00386928 ledRead2 +0x18c: 0x003acaac ()
0x003acaac viLedLibInit +0x150: read ()
0x00363930 read +0x30 : 0x0036384c ()
0x003638bc close +0xe0 : iosRead ()
0x00366030 iosRead +0x54 : tyRead ()
0x0036da78 tyRead +0x34 : semTake (0x17bb501)
0x004a1150 semTake +0x7c : semBTake ()
Shell task 'tShell0' restarted...
-> cmd
[vxWorks]# genrsa -out pkey_new2.pem 2048
[vxWorks]# enc -aes-256-cbc -in plain.txt -out cipher.enc -K 4d794145533235364b6579466f72546573743132333435363738393000000000 -iv 496e6974566563746f72313643686172
[vxWorks]#
0x0007be50 vxTaskEntry +0x48 : 0x003a4788 ()
0x003a4788 shellTask +0x4a8: shellExec ()
0x003a41b0 shellExec +0x78 : 0x003a3eb8 ()
0x003a3fe8 shellTaskDefaultBaseNameGet+0x81c: ledRead2 ()
0x00386928 ledRead2 +0x18c: 0x003acaac ()
0x003acaac viLedLibInit +0x150: read ()
0x00363930 read +0x30 : 0x0036384c ()
0x003638bc close +0xe0 : iosRead ()
0x00366030 iosRead +0x54 : tyRead ()
0x0036da78 tyRead +0x34 : semTake (0x4b657946)
0x004a1150 semTake +0x7c : semBTake ()
Shell task 'tShell0' restarted...
[vxWorks]# enc -aes-256-cbc -d -in cipher.enc -out decrypted.txt -K 4d794145533235364b6579466f72546573743132333435363738393000000000 -iv 496e6974566563746f72313643686172
[vxWorks]#
```
Co-authored-by: subhamgdeb <subhamgdeb>
Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/69
Co-authored-by: Subham Gangdeb <subham.gangdeb@neominds.in>
Co-committed-by: Subham Gangdeb <subham.gangdeb@neominds.in>