/[splashy]/trunk/scripts/splashy-init
ViewVC logotype

Log of /trunk/scripts/splashy-init

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 1135)

Revision 855 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 31 15:17:09 2006 UTC (6 years, 11 months ago) by jacobo221-guest
File length: 54646 byte(s)
Diff to previous 854
fixing the debug deletion (previous commit)

Revision 854 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 30 21:16:45 2006 UTC (6 years, 11 months ago) by jacobo221-guest
File length: 54654 byte(s)
Diff to previous 853
- fix the debug log which did not store the log that was gotten before teh disk was writtable
- fix the debug log so that it inherits parent shell's log buffers
- other minor stuff

Revision 853 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 30 05:50:16 2006 UTC (6 years, 11 months ago) by jacobo221-guest
File length: 54456 byte(s)
Diff to previous 837
- fixed a bug with lgo and debug in splashy-init (they would simpyl not work)
- fixed a minor bug in the -S option for debug()
- now the log gets the output from splashy_update
- Added the EXTERN_PROGRESS option to be compatible with debian's forthcoming usplash_write support
- Added support to run some commands (POST_EXEC_SERVICES) to hopefully fic the unicode_* problem
- few minor corrections
- correctly fixed the walkaround by Lunar^
- Now removed the poid at boot before running splashy, as Luis asked
- corrected the scripts README and minor update to the splashy README

Revision 837 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 24 13:49:28 2006 UTC (7 years ago) by lems1-guest
File length: 50693 byte(s)
Diff to previous 810
 - minor bug fix by Lunar^. allows splashy to be started from rcS.d when not in initramfs mode

Revision 810 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 25 16:01:04 2006 UTC (7 years ago) by jacobo221-guest
File length: 50693 byte(s)
Diff to previous 805
- fixing splashy-init's error messages

Revision 805 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 23 18:02:04 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 50510 byte(s)
Diff to previous 796
 - Correctly enter newlines in splashy-init's log
 - Prepare for sending --debug to splashy, when it supports it, from splashy-init (in debug mode only)
 - splashy-init seems to have now completly replaced the old splashy init scripts. So the README file no longer talks about it as a transition script
 - splashy-init will now not show that "already running" warning during bootup and inter-runlevel-switching. This was causing confusion in users
 - Fixed the LSB initscripts comments

Revision 796 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 20 03:22:14 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 49950 byte(s)
Diff to previous 794
again compatibility with dash: read must be given an argument in non-bash shells

Revision 794 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 20 02:42:13 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 49944 byte(s)
Diff to previous 793
too much javascript

Revision 793 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 20 02:35:39 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 49953 byte(s)
Diff to previous 792
remove redundant code. dd's status=noxfer is too recent an option to include it here, since many systems could not have it yet

Revision 792 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 19 23:23:38 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 49995 byte(s)
Diff to previous 790
fixes the command cut not being un /bin but in /usr/bin, thus being unusable in the script. Also fixes END_MATCHES's default value which was broken and slightly changes the way it is used so that it is more comfortable

Revision 790 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 19 19:56:36 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 49646 byte(s)
Diff to previous 788
 - new test package
 - removes debug text
 - clean debug messages

Revision 788 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 19 17:15:14 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 49650 byte(s)
Diff to previous 778
update for current LSB 3.1 RC3 compatibility

Revision 778 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 08:22:51 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 49588 byte(s)
Diff to previous 777
i retract from my last commit: the whole idea of the shutdown is to make sure splashy-init is called from within the shutdown rc script so that it never gets killed by killall5, so it is nonsense to pretend it will be killed during shutdown

Revision 777 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 07:53:49 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 49771 byte(s)
Diff to previous 776
fixes the untested and experimental code in previous commit. fixes halt/reboot-not-going-to-100% issue

Revision 776 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 07:07:55 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 49445 byte(s)
Diff to previous 775
typo in last commit. also more debug

Revision 775 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 06:56:29 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 49359 byte(s)
Diff to previous 774
More and MUCH better debug information (includes PID in header to distinguish concurrently running instances, and signals traps inform debug now). absolutely user-hidden log (no more outputs about errors on write). almost all output can be hidden now even when /dev/null doesn't exist (experimental and untested)

Revision 774 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 05:53:56 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 48455 byte(s)
Diff to previous 773
urgent yet untested fix: the framebuffer+console devices check had been broken. this is just a partial fix. also log is now buffered until the filesystem is writtable so no log is lost

Revision 773 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 03:43:31 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 47898 byte(s)
Diff to previous 772
debug message to detect an unexpected exit

Revision 772 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 02:53:47 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 47844 byte(s)
Diff to previous 771
otavio suggested to loop a maximum of times to check for the framebuffer device and exit if failed, instead of idling forever, for those using udev but not havin FB configured. so here is the answer ;-)

Revision 771 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 02:11:06 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 47667 byte(s)
Diff to previous 770
log must only be written in splashy-init when on debug-mode

Revision 770 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 02:05:57 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 47655 byte(s)
Diff to previous 769
fixing splashy-init on reboot/halt

Revision 769 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 16 23:43:50 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 47630 byte(s)
Diff to previous 757
splashy-init support for log

Revision 757 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 16 01:51:23 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 47423 byte(s)
Diff to previous 748
restoring old splashy-init script as suggested by lemsx1. Merged lemsx1's changes. Backported to the progress-is-absolute approach. Updated the /etc/defaults/splashy file

Revision 748 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 13 17:06:21 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 32384 byte(s)
Diff to previous 747
 - turns progressbar on

Revision 747 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 13 14:52:45 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 32362 byte(s)
Diff to previous 746
 - puts back the code to switch to X tty

Revision 746 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 13 14:45:17 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 27651 byte(s)
Diff to previous 745
 - makes sure splashy is dead dead dead after the daemon_client exits
 - code cleanups. be more polite when killing splashy
 - splashy init old code

Revision 745 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 12 20:25:13 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 27017 byte(s)
Diff to previous 743
 - better detection for splashy running

Revision 743 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 12 15:16:35 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 26856 byte(s)
Diff to previous 742
 - fixes minor bugs

Revision 742 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 12 15:05:52 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 26810 byte(s)
Diff to previous 741
 - changes TTY var to CHVT_TTY to be consistent with splashy-init
 - more code cleanups. copied over functions from older version of the script
 - we only need rcS.d/S02splashy and rc[06].d/K01splashy

Revision 741 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 12 14:29:39 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 24148 byte(s)
Diff to previous 738
 - code cleanups

Revision 738 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 10 18:53:07 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 24281 byte(s)
Diff to previous 737
 - call yourself again in daemon mode

Revision 737 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 10 18:38:22 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 24315 byte(s)
Diff to previous 736
 - get list of scripts for progressbar

Revision 736 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 10 18:28:15 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 24101 byte(s)
Diff to previous 735
 - trap only needed signals

Revision 735 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 10 18:23:26 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 23614 byte(s)
Diff to previous 734
 - needs get_scripts* functions

Revision 734 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 10 18:08:27 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 20350 byte(s)
Diff to previous 733
 - more bug fixes

Revision 733 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 10 18:01:22 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 20270 byte(s)
Diff to previous 731
 - minor fix

Revision 731 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 10 17:46:18 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 20253 byte(s)
Diff to previous 730
 - daemon client code in

Revision 730 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 10 17:26:22 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 3982 byte(s)
Diff to previous 729
 - changed variables to new names for new splashy-init. more debian-like names
 - skeleton splashy-init. need the client code that runs in daemon like fashion

Revision 729 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 10 05:28:56 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 47342 byte(s)
Diff to previous 726
 - test package
 - put back progress to exact percentage
 - attempts to fix splashy-init bugs
 - comment fixes

Revision 726 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 8 21:22:22 2006 UTC (7 years, 1 month ago) by otavio
File length: 47344 byte(s)
Diff to previous 719
First try to do not restart splashy when it is already running.

Revision 719 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 8 13:36:14 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 47398 byte(s)
Diff to previous 716
 - new test package
 - we always use fifo now
 - set perms for fifo
 - let splashy deal with its own fifo in initramfs
 - no need to kill splashy now

Revision 716 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 6 23:27:26 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 47351 byte(s)
Diff to previous 713
fixing script from exitting when fifo failed instead of retrying. also added all the necessary debug information for tracing progress problems with the increment progress method

Revision 713 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 6 17:54:29 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 47141 byte(s)
Diff to previous 712
added some debug. fixed a bug where repeating progress was sent to splashy. disabled the restore-bar-on-reset feature, since it cannot be used with current progress model. DEBUG=2 is now working. updated readme file

Revision 712 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 6 16:56:38 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 46890 byte(s)
Diff to previous 711
yet another fix regarding the same start-once-completed bug. also changed failure on stop to a warning instead of an error

Revision 711 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 6 16:25:45 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 46815 byte(s)
Diff to previous 710
correctly fixed the start-once-completed bug supposedly fixed in previous commit. merged two little pieces of code into a more consistent and readable way. added a DEBUG=2 option which will not only display debug information but also disable splashy form starting and act as if it was running

Revision 710 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 6 15:55:49 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 46621 byte(s)
Diff to previous 709
fixing a bug when splashy-init is launched when all scripts have been already executed. and some cosmetics

Revision 709 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 6 15:20:48 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 46751 byte(s)
Diff to previous 707
progress fixed and tested to work. Also enablling all debug again. fixed help info. fixed the check for /dev/vcs1. fixed the initial startup check

Revision 707 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 6 12:19:56 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 46433 byte(s)
Diff to previous 687
Untested, but fixes any things. going for qemu noq. otavio, same with you ;-)

Revision 687 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 3 23:45:13 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 46480 byte(s)
Diff to previous 686
didn't i clearly say 'nothing to see here'?

Revision 686 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 3 23:32:47 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 46475 byte(s)
Diff to previous 685
Some more debug. Dedicated to otavio

Revision 685 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 3 23:23:06 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 46295 byte(s)
Diff to previous 683
nothing to see here. move on! :-*

Revision 683 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 3 04:32:04 2006 UTC (7 years, 1 month ago) by jacobo221-guest
File length: 46302 byte(s)
Diff to previous 676
NOTE: THIS IS UUUNNNTTTEEESSSTTTEEEDDD (UNTESTED) CODE. Committing just for the sake of testing and because I'm going to sleep (and I dont' rely on my dying HD)

- Updated script README file
- Check for /etc/splashy/config.xml
- Fixed the layout back to "my style" (80-char lines, 8-chars-tab-idented)
- splashy_update is now set froma variable
- Disabled INVERSE_DOWN since it is unusable on server side and the
- Disabled FIFO_FILE and all of its checks since splashy_update now does all direct use of it and the script doesn't anymore
- Some code clean-up
- Recovered the code deleted in the last two months and commented it out. It might be useful in the feature so it is better to have it commented than to jsut not have it
- get_X_tty() now returns 0 when it detected an X tty or 1 when it didn't
- Only update on completion if it wasn't already in 100%
- Moved "send_command allowchvt" inside the if condition (there are cases in which the vt will not be changed)
- Now $CHVT_TTY is never modified (it is a value read from config, so itt should be treated as read-only)
- Commented out the old fb-detection (which almost always worked afaik, but was very expensive and hackish) with the simple "if /proc/fb exists and contains data, fb is usable"
- Fixed the progress detection routine. Now it calculates the percentage in the old way and keeps the old percentage in a variable and then extracts the latter one from the first one to know the difference and send it to splashy server
- Also changed the output "Division by 0" with a much more user friendly "No scripts detected!"
- Removed a floating fi which finished no if!
- Moved Luis' comment about the new "send only the difference progress" technique to the place where this really matters
- There is no need to get all `pidof splashy`s and then just get one. `pifod -s`does that for us

Revision 676 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 1 16:44:46 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 45497 byte(s)
Diff to previous 669
 - adds common_macros
 - code cleanups
 - allow changing of vt's earlier

Revision 669 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 31 16:24:41 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 45390 byte(s)
Diff to previous 664
 - break after killing splashy

Revision 664 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 31 03:19:07 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 45364 byte(s)
Diff to previous 662
 - new test package with splashy_grep
 - minor bug fix

Revision 662 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 31 02:00:27 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 45348 byte(s)
Diff to previous 653
 - repository cleanups
 - force kill splashy after initramfs splashy runs
 - no signal trapping for now

Revision 653 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 27 05:37:55 2006 UTC (7 years, 1 month ago) by lems1-guest
File length: 45338 byte(s)
Diff to previous 640
 - turn debuggin off

Revision 640 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 20 05:57:17 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 45338 byte(s)
Diff to previous 638
 - minor bug fix

Revision 638 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 20 05:16:37 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 45342 byte(s)
Diff to previous 635
 - fixes bashism

Revision 635 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 19 17:01:59 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 45341 byte(s)
Diff to previous 634
 - attempts to handle USR signals

Revision 634 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 19 03:49:30 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 45337 byte(s)
Diff to previous 622
 - use Jacobo's calculations again. minus the xscript number since we don't want to do this now
 - code cleanups
 - ignore bz2 dist file
 - test package
 - avoid warning about missing new-line at end-of-file
 - fixes minor bug in initramfs when copying fifo

Revision 622 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 4 18:47:44 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 44680 byte(s)
Diff to previous 621
 - fallback to tty1 if we are still in auto past the X test

Revision 621 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 4 18:37:13 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 44464 byte(s)
Diff to previous 618
 - quoted keyword exit

Revision 618 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 4 17:39:06 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 44460 byte(s)
Diff to previous 617
 - sends one string to splashy update

Revision 617 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 4 17:36:03 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 44458 byte(s)
Diff to previous 613
 - use fifo and pid as defined in /etc/splashy/config.xml
 - needs to use strings in post* scripts -x checks
 - no more oldprctg

Revision 613 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 4 09:04:43 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 44577 byte(s)
Diff to previous 611
 - minor touches

Revision 611 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 4 08:51:39 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 44660 byte(s)
Diff to previous 608
 - fixes syntax error

Revision 608 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 4 07:59:34 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 44660 byte(s)
Diff to previous 607
 - exit if command worked
 - add comments and uses full path to splashy_update

Revision 607 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 4 07:34:22 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 43974 byte(s)
Diff to previous 606
 - splashy_update doesn't need other libraries
 - new path for splashy_config

Revision 606 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 4 07:33:35 2006 UTC (7 years, 2 months ago) by otavio
File length: 43972 byte(s)
Diff to previous 604
Try 10 times and go to hell.

Revision 604 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 4 07:16:26 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 43867 byte(s)
Diff to previous 556
 - adds initramfs to dist
 - splashy keeps track of its percentage now
 - splashy update doesn't need libglib at all

Revision 556 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 24 08:50:29 2006 UTC (7 years, 2 months ago) by lems1-guest
File length: 43262 byte(s)
Diff to previous 535
 - preliminary initramfs support
 - adds dependency on initramfs-tools
 - adds notes
 - initial initramfs scripts and hooks
 - adds font to install process
 - fixes minor bug
 - copy the support files as well to initramfs
 - do not exit if we can't read the fifo
 - be very unkind towards splashy when PRELEVEL=N
 - use kill and pidof instead of killall

Revision 535 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 9 17:23:21 2006 UTC (7 years, 3 months ago) by lems1-guest
File length: 42856 byte(s)
Diff to previous 531
 - test package
 - fixes typo

Revision 531 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 6 22:08:14 2006 UTC (7 years, 3 months ago) by lems1-guest
File length: 42851 byte(s)
Diff to previous 522
 - debug is off

Revision 522 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 12 19:13:10 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 42851 byte(s)
Diff to previous 521
nothing really, just a tiny check to make user-launching easier in some special case. this also refreshes project's alioth stats ;-P and serves me to test kdesvn hehe

Revision 521 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 7 13:57:42 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 42725 byte(s)
Diff to previous 520
fixed header :S. inter runlevel switch is working and tested. Removed non-script-related comments. fixed the way it got PREVLEVEL variable. updated readme to reflect a new reality hehe

Revision 520 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 7 03:25:09 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 43540 byte(s)
Diff to previous 519
better way to check if the system is booting

Revision 519 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 7 03:23:00 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 43558 byte(s)
Diff to previous 518
fixes the case when manually going into runlevel S

Revision 518 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 7 03:15:31 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 43561 byte(s)
Diff to previous 517
ups

Revision 517 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 7 03:05:18 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 43534 byte(s)
Diff to previous 516
Added values false, FALSE, False to is_enabled(). redesigned the runlevel detection and usage by redefining the meanings of RUNLEVEL and PREVLEVEL along with target_rl and target_rl_was_set. sanity cleaning such as making local all trivial variabels and commenting exactly what each function returns andthe variabels it exports. some other minor fixes or cleanups. fixed a major bug in previous commit with is_client_running() broken. fixed it also so it handles a sudden runlevel S during a non-S runlevel. removed deprecated (mostly perl) code

Revision 516 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 6 18:58:53 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 45697 byte(s)
Diff to previous 515
added a note to the Readme file. fixed a bug in previous commit (which broke the script). fixed the succeeded counts which was broken in previous commit. fixed the inter-runlevels-switch detection, since it was breaking non-boot/down runlevel switches. this script is tested here now, of course, with dash

Revision 515 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 6 16:17:28 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 45657 byte(s)
Diff to previous 514
now supports progressbaron* correctly. untested

Revision 514 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 6 15:57:59 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 45284 byte(s)
Diff to previous 513
support for hot runlevel switch to S. also in Readme.txt

Revision 513 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 6 05:55:51 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 44583 byte(s)
Diff to previous 510
tested with X and it works. fixed a bug in the way it checked the existance of files. fixed a bug in hanlding the init stop calls. fixed a big bug in the way it handled post-S runlevel and while fixing it, cleaned that part of code a lot. fixed a bug in a recent commit about a variable being tested as integer when it wasnt yet set. Fixed the readme installation section and added an uninstallation section

Revision 510 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 6 02:18:32 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 43703 byte(s)
Diff to previous 508
Removed comments to make them into a Readme file, still needs to remove the non-script-related TODO stuff. Fixed a little very bug in is_enabled(). support for progressonbar disabled. Fixed a serious bug where config_parse() would fail to do its job correctly in some cases. Fixed all error messages to display correctly. fixed xml parsing. fixed config reading, which would report error when not existing. added support for ^ and $ in END_MATCHES. fixed level setting in END_MATCHES. added CHVT_TTY values "auto" and "none". Added support for FRAMEBUFFER device setting. design change: is_client_running doesnt require arguments. fixed bug in perform_complete() where it would not detect correctly if the progress has to be sent or not. Now start_server() does all th server starting job and accepts an argument, -s, to display errors or not. added more checks to server launching and made them more user-friendly. changed the way the script handles its calling execution (read the readme in next commit). now it idles at startu when the fb device is not yet created but udev will run. now it doesnt get the vga= value from /proc/cmd but from env. redefined signals to handle modes better (read readme in next commit). get_status(), progres2percentage() and wmain while loop redesigned to be much clearer now :). redefined the init stp mode to use stop mode silently. and the usual variables renamed, and code readability thingies. probably some more fixes btw

Revision 508 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 5 01:01:40 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 46379 byte(s)
Diff to previous 504
now supports a FRAMEBUFFER config variabel to set the frambuffer device to use (standard X token). when shutting down, do not exit splashy, so that the image is left there hanging (this should eventaully be used to put a 'you can now power off the computer' image). fixed a bug where splashy would exit when detecting the script before gdm,xdm,... instead of when reaching the script. silenced the server so that all errors are only reported by splashy, which already should do quite good at that task. fixed a bug where ifa  user entered verbose mode _very_ quickly when the script had been able to start splashy in 'start' mode, it would splash the imag again when entering 'daemon' mode. added the notes about sourced scripts by thebonsay at #bash. somewhat a bug fix, try to find out if it is between runlevels S and X when no rc(S) script is found ot be running. made the splashy server launching eror report much more user-friednly and precise. also fixing, on script side, splashy binnary's lilo vga detection bug. this script, right now, should be considered in beta stage, or pre-release ;P

Revision 504 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 4 01:52:07 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 44970 byte(s)
Diff to previous 503
This adds the ability to define the end by setting a number between 0 and 99 (using one or two numbers only), independently of the script name. Also adding the hint to detect lilo, which has taken me all afternoon, so I don't forget

Revision 503 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 2 23:05:13 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 44748 byte(s)
Diff to previous 500
now splashy runs from the very start if /porc is mounted, thus no text is shwn at all (except for 'splashy is running'). Also wrapped some lines to the 80 chars console limit. removed one of my J221 bug-questions thanks to lemsx1 and one og his suggestions because it was not related. Also fixed the script so that deprecated code can easily be removed before release

Revision 500 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 2 21:52:50 2006 UTC (7 years, 4 months ago) by lems1-guest
File length: 45017 byte(s)
Diff to previous 499
 - adds notes in response to J221 notes

Revision 499 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 2 21:42:37 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 44834 byte(s)
Diff to previous 498
the mean feature of this patch is the removal of perl. in many ways it is now faster than with perl, though in some cases it might be slower. i'd say it is just average, but still believe it is somewhat faster. appart from that, fixed the /dev/null test to character, not block device. fixed the script so it now shuts down too. all modes work now (reload, try-restart, restart, force-reload, status, stop, ...). Removed the use of basename in favour of bourne shell variables expansions. fixed the scripts detection though still no way to detect sources scripts. added 3xdm and startx to END_MATCHES and switched its value to bourne style (instead of perl style). disabled INVERT_DOWN since splashy binary can't support it yet. removed KEEP_PROGRESS in favour of unset END_MATCHES. getscripts no longer has a 255 scripts limitation. also pid isn't written now on shutdown. fixed bug where i though 99 was the maximum progress but it is 100 (obviously). BUT, introduced a new unfixable bug: /etc/rc?.d/* filenames cannot contains spaces. please test

Revision 498 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 2 15:27:35 2006 UTC (7 years, 4 months ago) by jacobo221-guest
File length: 40253 byte(s)
Copied from: trunk/scripts/splashy-daemon revision 497
Diff to previous 497
renaming splahy-daemon to splashy-init as suggested (and I agree) by lemsx1. if it even gets to be release, it should be THE init script, thus being an appropiate name. renaming to 'splashy' would make confusion with the binary

Revision 497 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 2 15:25:56 2006 UTC (7 years, 4 months ago) by jacobo221-guest
Original Path: trunk/scripts/splashy-daemon
File length: 40253 byte(s)
Diff to previous 496
lemsx1's fixes + a typo

Revision 496 - (view) (download) (annotate) - [select for diffs]
Added Mon Jan 2 14:27:52 2006 UTC (7 years, 4 months ago) by jacobo221-guest
Original Path: trunk/scripts/splashy-daemon
File length: 40280 byte(s)
this is a new yet-to-be-approved splashy initrc script which should merge all the current (let's say 'old' from now on :P) splashy initrc scripts. it should also provide quite a bunch of new features and accurate measures, hopefully not increasing the CPU usage much. it is very unstested, not yet releasable, though usable in most cases (ehm, all that i have tested hehe). this is the last known-to-work version of the script. I am committing it so i can revert it easily if i find it is completly broken someday (since i'm not keeping backups. i'm lazy). Most of the comments in it will be removed eventually, either moved to a readme or completly removed since they are my personal agenda :D (did i said i'm lazy?) so don't scream to me before it's time! Ok, so that was the introduction to the new file. short, wasn't it?

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.5