WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: [1] 2 3 ... 10
1
Micro Core / Re: Crontab
« Last post by Kj4bnh on Today at 09:36:15 AM »
Roger that.  Hopefully the link will help me out.  If not there is always classes to take and professors to annoy.
2
Micro Core / Re: Crontab
« Last post by gerald_clark on Today at 09:26:17 AM »
Have fun. Just remember that Core is not your normal distro.
It is a toolkit and requires that you do things manually that most distros do automatically.
For Example, if you want cron running at boot you need to add crond to your /opt/bootlocal.sh and add var/spool/cron/crontabs to /opt/,filetool.lst and do a backup.
3
Micro Core / Re: Crontab
« Last post by Kj4bnh on Today at 09:12:36 AM »
Yup that did it.  Thanks for the link.  I chose the core because of the lack of GUI, the way it was back in the 80's.
4
Micro Core / Re: Crontab
« Last post by gerald_clark on Today at 08:54:21 AM »
killall crond
I suggest you read http://rute.2038bug.com/index.html.gz

Core is not a good choice for learning Linux.
5
Micro Core / Re: Crontab
« Last post by Kj4bnh on Today at 08:45:41 AM »
No I did not start crond, but I have now.  Now to figure out how to stop it short of a reboot.  Thanks for your help.
6
In fact none of the extensions (obviously loaded, as otherwise there would be no GUI) do not get listed in /tmp/tce/optional
Hence the reason ezremaster does not load them.

I expected they should be there in a working system

But of course I can copy them there before running ezremaster & all behaves as expected (at least by me)

sebus
7
I remember that last time I used ezremaster, it did allow adding all extensions that exists in default iso /optional folder by simply clicking load button

Current on 5.3 does not input any of the extensions (unless I select them one by one from remote app server)

I need them in initrd for ease of pxe booting

Was that change on purpose?
8
Micro Core / Re: Crontab
« Last post by gerald_clark on Today at 04:50:58 AM »
I meant 'crontab --help' but either way it gives you a usage page.

Cron runs unattached to any terminal, so  your example can't display anything.
you would need
* * * * * date > /tmp/date


Did you start crond ?
9
I modified "/usr/bin/search.sh" and "/usr/bin/provides.sh" in TinyCore Linux 3.x to make its tcz package search function working. I integrated them into my Open Source Project MobileMate( http://www.learndiary.com/mobilemate/ ), which is customized based on TinyCore Linux 3.7.1.

The modified files below:

"/usr/bin/search.sh"
Code: (bash) [Select]
#!/bin/sh
# $1 is the search word(s)
[ -f "info.lst" ] && rm "info.lst"
touch "info.lst"
[ -z "$1" ] && exit 1
keyword=$1
[ "${keyword}" != "${keyword#/}" ] && keyword="^${keyword#/}"
[ "${keyword}" != "${keyword%/}" ] && keyword="${keyword%/}$"

read TCEDIR < /opt/.tce_dir
[ -z "${TCEDIR}" ] && TCEDIR="/tmp/tce"
if [ ! -d "${TCEDIR}" ]; then
  sudo mkdir "${TCEDIR}"
  sudo chown root:staff "${TCEDIR}"
fi
TCZSLST_GZ="${TCEDIR}/3.x_tczs.lst.gz"

if [ ! -f "${TCZSLST_GZ}" ]; then
  TCZSLST_S1="http://sourceforge.net/projects/mobilemate/files/0.1/3.x_tczs.lst.gz/download"
  TCZSLST_S2="http://www.learndiary.com/mobilemate/releases/0.1/3.x_tczs.lst.gz"
  echo "Downloading tcz packages list file..."
  wget -cq "${TCZSLST_S1}" -O "${TCZSLST_GZ}"
  if [ "$?" -ne "0" ]; then
    echo "Trying the next server..."
    wget -cq "${TCZSLST_S2}" -O "${TCZSLST_GZ}"
    if [ "$?" -ne "0" ]; then
      echo "Download tcz packages list file failed. Exit."
      exit 1
    fi
  fi
  echo "Downloaded tcz packages list file \"${TCZSLST_GZ}\" ok."
fi

zcat "${TCZSLST_GZ}" | grep -i "${keyword}" > info.lst
sed -i "s/\ *$/.tcz/g" info.lst

"/usr/bin/provides.sh"
Code: (bash) [Select]
#!/bin/sh
# $1 is the filename
[ -f "info.lst" ] && rm "info.lst"
touch "info.lst"
[ -z "$1" ] && exit 1
keyword=$1
read TCEDIR < /opt/.tce_dir
[ -z "${TCEDIR}" ] && TCEDIR="/tmp/tce"
if [ ! -d "${TCEDIR}" ]; then
  sudo mkdir "${TCEDIR}"
  sudo chown root:staff "${TCEDIR}"
fi
TCZSPLST_GZ="${TCEDIR}/3.x_tczs_provides.lst.gz"

if [ ! -f "${TCZSPLST_GZ}" ]; then
  TCZSPLST_S1="http://sourceforge.net/projects/mobilemate/files/0.1/3.x_tczs_provides.lst.gz/download"
  TCZSPLST_S2="http://www.learndiary.com/mobilemate/releases/0.1/3.x_tczs_provides.lst.gz"
  echo "Downloading tcz packages' files list file..."
  wget -cq "${TCZSPLST_S1}" -O "${TCZSPLST_GZ}"
  if [ "$?" -ne "0" ]; then
    echo "Trying the next server..."
    wget -cq "${TCZSPLST_S2}" -O "${TCZSPLST_GZ}"
    if [ "$?" -ne "0" ]; then
      echo "Download tcz packages' files list file failed. Exit."
      exit 1
    fi
  fi
  echo "Downloaded tcz packages' files list file \"${TCZSPLST_GZ}\" ok."
fi

zcat "${TCZSPLST_GZ}" | grep -i "$1" | while read line; do
  tcz=${line%%/*}
  files="/${line#*/}"
  [ -n "$(echo  "${files}" | grep -i "$1")" ] && echo "${tcz}" >> info.lst
done
sed -i "s/\ *$/.tcz/g" info.lst

A tip:
You can add "/" at the begin or the end of the search keyword to restrict the search scope.
10
MobileMate-0.1b1 release notes:

This is the second public release of MobileMate video and audio converting tool. Based on MobileMate-0.1a42.1, the main changes of MobileMate as below:

1, Code, comment and format optimization:

Rewrote the “MobileMate” main program(/opt/mobilemate) Follow the “Google Shell Style Guide Revision 1.25” (http://google-styleguide.googlecode.com/svn/trunk/shell.xml?p=100).

2, Rewrote logging system:

Added “ERROR”, “INFO”, “DEBUG”, “TRIVAL” logging level. “ERROR” and “INFO” is always available, “DEBUG” and “TRIVAL” can be set in “conf/common.conf”, changed use a single log file to use the separate log file for every task.

3, Updated “libmp3lame.so.0.0.0” from version 3.98.2 to 3.99.5:

Old version will cause MobileMate always report encode failed message in spite of encode mp3 success or fail. Updated to new version fix this bug.

4, Enhanced output file naming:

Align digit in output file name, keep the original input source suffix in the output file name.

5, Added several options in “conf/common.conf”:

Can choose if backup task files(TASKBACKUP) and specify task backup directory (TASKBAKBASE), can specify log directory(LOGBASE).

6, Fixed some MobileMate main program bugs:

    Fixed the bug of convert the video include subtitile stream to “mkv” file fail by disabled subtitle conversion temporarily;
    Fixed “negative pad value” bug when choose Libav decoder sometimes;
    Fixed wrong Display Aspect Ratio(DAR) bug when choose Mencoder decoder sometimes;
    Fixed the bug when the specified section end before the splitting segment then converting will beyond the specified end time.

7, Fixed some MobileMate OS bugs:

    Fixed the repository tcz package search function invalid problem (Caused by TinyCore Linux repository server side for old TinyCore) by modify ”/usr/bin/search.sh” and ”/usr/bin/provides.sh”;
    Fixed the bug of “appbrowser” interface internationalization bug, and this bug also cause tcz package search function bug;
    Added “src/fltk_projects_unicode-3.7.1.modi.20140723.tar.gz”, it based on “src/fltk_projects_unicode-3.7.1.modi.20130618.tar.gz”, fixed package search bug, enhanced “mkpatch.sh”, added script of compile and install “fltk-1.3” in “Makefile” and “Common.Mk” for fix the bug of install “fltk-1.3-dev.tcz” from repository will cause “fltk_projects_unicode” build fail;
    Added “src/flwm_topside_unicode-3.7.1.modi.20140723.tar.gz”, it based on “src/flwm_topside_unicode-3.7.1.modi.20130618.tar.gz”,added script of compile and install “fltk-1.3” in “Makefile” for fix the bug of install “fltk-1.3-dev.tcz” from repository will cause “flwm_topside_unicode” build fail.

8, Integrated “mirrors.tcz”, changed default mirror from “http://mirrors.163.com/tinycorelinux/” to “ftp://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/”.

Link:
http://www.learndiary.com/mobilemate/
Pages: [1] 2 3 ... 10