It seems that calling a script from within another script works.
In the config folder I have scripts that just start the main scripts by using the /bin/sh prefix.
I have noticed "Segmentation Failures" too as well as kernel messages like this.
Mar 31 00:39:00 RT-N66U user.alert kernel: CPU 0 Unable to handle kernel paging request at virtual address ef06e000, epc == 80087034, ra == 80087024
Mar 31 00:39:00 RT-N66U user.warn kernel: Oops[#1]:
Mar 31 00:39:00 RT-N66U user.warn kernel: Cpu 0
Mar 31 00:39:00 RT-N66U user.warn kernel: $ 0 : 00000000 00000000 00020001 ef06e000
Mar 31 00:39:00 RT-N66U user.warn kernel: $ 4 : ef06e000 00020000 00000000 00000000
Mar 31 00:39:00 RT-N66U user.warn kernel: $ 8 : 802fffb0 2e746e75 6d627375 746e756f
Mar 31 00:39:00 RT-N66U user.warn kernel: $12 : 00000001 87ff9c08 87ff9c10 342e312d
Mar 31 00:39:00 RT-N66U user.warn kernel: $16 : 00000000 0000006d 87a5b800 87de1dc0
Mar 31 00:39:00 RT-N66U user.warn kernel: $20 : 00000080 00000000 802e0000 80270000
Mar 31 00:39:00 RT-N66U user.warn kernel: $24 : 00000001 8001d898
Mar 31 00:39:00 RT-N66U user.warn kernel: $28 : 87af2000 87af3dd8 7ff097c8 80087024
Mar 31 00:39:00 RT-N66U user.warn kernel: Hi : 000001c1
Mar 31 00:39:00 RT-N66U user.warn kernel: Lo : 0001b0b9
Mar 31 00:39:00 RT-N66U user.warn kernel: epc : 80087034 Tainted: P
Mar 31 00:39:00 RT-N66U user.warn kernel: ra : 80087024 Status: 1100fc03 KERNEL EXL IE
Mar 31 00:39:01 RT-N66U user.warn kernel: Cause : 00000008
Mar 31 00:39:01 RT-N66U user.warn kernel: BadVA : ef06e000
Mar 31 00:39:01 RT-N66U user.warn kernel: PrId : 00019749
Mar 31 00:39:01 RT-N66U user.warn kernel: Modules linked in: nls_cp850 tun ip6table_mangle ip6table_filter xt_IMQ imq usblp ohci_hcd ehci_hcd sdhci mmc_block mmc_core hfsplus hfs vfat fat ext2 ext3 jbd mbcache usb_storage sd_mod scsi_wait_scan scsi_mod leds_usb led_class ledtrig_usbdev usbcore nf_nat_pptp nf_conntrack_pptp nf_nat_proto_gre nf_conntrack_proto_gre nf_nat_ftp nf_conntrack_ftp nf_nat_sip nf_conntrack_sip nf_nat_h323 nf_conntrack_h323 wl(P) et(P) igs(P) emf(P)
Mar 31 00:39:01 RT-N66U user.warn kernel: Process hotplug (pid: 1180, threadinfo=87af2000, task=8137b400)
Mar 31 00:39:01 RT-N66U user.warn kernel: Stack : 87a5b830 87a5b800 00000000 800bd1a4 87a5b800 87af3f30 87af3e18 87af3f30
Mar 31 00:39:01 RT-N66U user.warn kernel: 802aa700 800bcafc 000200d2 00000000 00000000 00000010 87a5b802 00000000
Mar 31 00:39:01 RT-N66U user.warn kernel: 6e69622f 0068732f 000200d2 00000000 7ff09a98 80067794 87af3e2c 00000010
Mar 31 00:39:01 RT-N66U user.warn kernel: 000200d2 00000000 87a5b930 879b0000 87a5b87c 00000000 0001ffda 00000000
Mar 31 00:39:01 RT-N66U user.warn kernel: 7ff09a98 7ff0bbd8 87a5b87c 00000001 0001fea5 00000000 7ff09a94 812d6fa0
Mar 31 00:39:01 RT-N66U user.warn kernel: ...
Mar 31 00:39:01 RT-N66U user.warn kernel: Call Trace:[<802b0000>][<80003204>][<80003204>]
Mar 31 00:39:01 RT-N66U user.warn kernel: Code: 00402021 00501821 24a20001 <80710000> 00402821 ae420104 26100001 24021000 1202ffe5
These errors doesn't necessarily pop up in relation to script execution but just every now and then.
Since I know to little about linux they don't really say anything to me.
But I don't think it's healty.
These issues affect Shibby as well as Toastman so I guess they need to obtain a new source.
Do you think this is related to having USB sticks or Sd Cards added to the unit?
Do you still get the errors when removing everything from the USB-bus?