Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 16 Jul 2018, 05:08
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Misc
Is @RSH still around?
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [26 Posts]   Goto page: Previous 1, 2
Author Message
rockedge


Joined: 11 Apr 2012
Posts: 615
Location: Connecticut, United States

PostPosted: Wed 02 May 2018, 22:38    Post subject:  

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.
Back to top
View user's profile Send private message Visit poster's website 
drunkjedi


Joined: 24 May 2015
Posts: 897

PostPosted: Thu 03 May 2018, 06:36    Post subject:  

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, 07:52; edited 1 time in total
Back to top
View user's profile Send private message 
drunkjedi


Joined: 24 May 2015
Posts: 897

PostPosted: Thu 03 May 2018, 06:37    Post subject:  

Welcome back RSH.
Looking forward to your N.E.M.E.S.I.S. and things that will come after.
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 615
Location: Connecticut, United States

PostPosted: Thu 03 May 2018, 09:29    Post subject:  

Quote:
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.
Back to top
View user's profile Send private message Visit poster's website 
drunkjedi


Joined: 24 May 2015
Posts: 897

PostPosted: Thu 03 May 2018, 10:54    Post subject:  

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.
load_sfs.sh.gz
Description  Remove the fake .gz extension.
gz

 Download 
Filename  load_sfs.sh.gz 
Filesize  11.89 KB 
Downloaded  55 Time(s) 
Back to top
View user's profile Send private message 
tallboy


Joined: 21 Sep 2010
Posts: 992
Location: Oslo, Norway

PostPosted: Thu 03 May 2018, 12:12    Post subject:  

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! Very Happy
_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send private message 
nosystemdthanks

Joined: 03 May 2018
Posts: 253

PostPosted: Thu 03 May 2018, 12:23    Post subject:  

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.

Quote:
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.
Back to top
View user's profile Send private message Visit poster's website 
drunkjedi


Joined: 24 May 2015
Posts: 897

PostPosted: Thu 03 May 2018, 13:31    Post subject:  

That reminds me haven't seen Rocky in long time either.
Back to top
View user's profile Send private message 
tallboy


Joined: 21 Sep 2010
Posts: 992
Location: Oslo, Norway

PostPosted: Thu 03 May 2018, 18:08    Post subject:  

RSH is back under the username ITSMERSH. Very Happy
_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3901
Location: King's Lynn, UK.

PostPosted: Thu 03 May 2018, 20:04    Post subject:  

@ 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

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
Uten


Joined: 29 Jan 2008
Posts: 124

PostPosted: Fri 04 May 2018, 07:30    Post subject:    

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 Razz . 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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [26 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Misc
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0526s ][ Queries: 13 (0.0062s) ][ GZIP on ]