Is @RSH still around?

Puppy related raves and general interest that doesn't fit anywhere else
Message
Author
User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#16 Post by rockedge »

Yes I am a trusting person..maybe optimistic....I can always delete if I have to..but that is the easy way out.....I believe in Karma and am willing to take a chance.

Zoneminder has different components: web server , mysql, php , perl and the problem is what should be in the SFS? I have created a PET that has an installation script that runs that sets permissions and creates the mysql database structure and correct user and import of the sql file.
The SFS does not run a script upon install. The Flatpak approach is more like the PET package of ZoneMinder in away that the entire LAMP can added to the app. The entire point is to make an easy way to install ZM on Puppy Linux variants.

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#17 Post by drunkjedi »

rockedge wrote:The SFS does not run a script upon install
Yes it does.
For normal puppy, create any script in /root/Startup folder in the sfs.
The script will run when sfs is loaded.

Unfortunately no way (atleast I don't know any way, someone please enlighten me) to run a script at sfs unload, if you wanna cleanup after...

Fatdog's sfs handler can run scripts on 4 type of events,
load/unload (when sfs is loaded/unloaded manually by user),
and system load/unload (when sfs is loaded/unloaded by system on startup/shutdown).

I have tested this when I made google chrome, opera sfs, which will provide icon on desktop when loaded, and remove the icon on unload.

Edit: It was Lazypuppy aka RSH himself who helped me with the script run when sfs is loaded.
See, http://murga-linux.com/puppy/viewtopic.php?t=97046
That neerajkolte on that thread is me.... when not drunk...
Last edited by drunkjedi on Thu 03 May 2018, 11:52, edited 1 time in total.

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#18 Post by drunkjedi »

Welcome back RSH.
Looking forward to your N.E.M.E.S.I.S. and things that will come after.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#19 Post by rockedge »

Yes it does.
For normal puppy, create any script in /root/Startup folder in the sfs.
The script will run when sfs is loaded.
that is good to know! that does open a door...but the SFS removal still poses a small problem. I have successfully built a zoneminder sfs that would require an existing LAMP, LHMP or LNMP (I never tried Cherokee) to function but the removal of the SFS would be messy. The PET version works great but is huge at 263 megs and uses the existing users in Puppy Linux webuser:webgroup and adds a user "mysql" plus upgrades the existing Hiawatha from version 6 to version 10. Removal of the PET leaves all kinds of mess but I fiquired if one is installing zoneminder they mean to keep it and deleting the save file/folder is easier to start fresh.
Setting up zoneminder this way lets the existing Hiawatha - pup_pplog.pl (personal blog) still function as expected.

Still that I can get a install script to run automatically by placing it in the SFS's Startup directory is some really good information.

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#20 Post by drunkjedi »

You could try load_sfs script from Fatdog.

And make cleanup script to be run when sfs is unloaded.

Attaching latest sfs_load script from Fatog721. Remove the fake gz extension.

Hope this help.
Attachments
load_sfs.sh.gz
Remove the fake .gz extension.
(11.89 KiB) Downloaded 138 times

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#21 Post by tallboy »

This is excellent news. I have on several occasions mentioned and recommended people to take a look at the various LazyPuppies, but I didn't know that the creator was not around. Good to have him back! :D
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
nosystemdthanks
Posts: 703
Joined: Thu 03 May 2018, 16:13
Contact:

#22 Post by nosystemdthanks »

Mike Walsh wrote:One or two individuals kinda went out of their way to pick holes in literally everything he said...
its refreshing to hear someone admit that happens.
Most of us'll only put up with so much of that sort of thing.....
so true.

then there are those like rokytnji who are both immune and really try to be fair to everybody. if you are immune its a lot easier to be fair. hi ally, hi pete. i will go post the thing i came here to post. mike: truer words are rarely spoken.

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#23 Post by drunkjedi »

That reminds me haven't seen Rocky in long time either.

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#24 Post by tallboy »

RSH is back under the username ITSMERSH. :D
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#25 Post by Mike Walsh »

@ DJ:-
drunkjedi wrote:That reminds me haven't seen Rocky in long time either.
AFAIK, his forum a/c is still 'live'.....but Roky spends most of his time (when he is online these days) over at LinuxQuestions.org. He's just as neutral & fair-minded there as he ever was here, and will try to help anybody.

He's definitely one of the 'good guys'.


Mike. :wink:

User avatar
Uten
Posts: 129
Joined: Tue 29 Jan 2008, 11:00

#26 Post by Uten »

ITSMERSH wrote:
uten wrote:I'm particularly interested in his methods and scripts for applications by associate them with sfs's and automatically downloading / mounting / launch.
I can offer what ever is needed, though let me know a bit more of the picture of what and how you want to do this e.g. automatically downloading / mounting / launch.

RSH
Wow @RSH, @LazY, @ITSMERSH , really nice to hear and see your not lost to the community :P . In another thread I have resolved my imediate issues/itches by adding extrasfs to my boot parameters.

I have had another look at T.O.P.L.E.S.S, and I will try to get some more time with it during the weekend.

As a sidenote: I WILL NOT CHANGE MY PASSWORD ON THIS SITE *lol*

tc
Uten

Post Reply