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 11 Nov 2019, 19:10
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Wary 0.9.8 (098) feedback
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 15 of 15 [211 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15
Author Message
Karl Godt


Joined: 20 Jun 2010
Posts: 4208
Location: Kiel,Germany

PostPosted: Sun 13 Feb 2011, 18:41    Post subject: pup_event_frontend_d
Subject description: fix to look for pup_event_icon_change_flag
 

my former post at page 3

I want to post, that I got more into the structure of `pup_event_frontend_d`

and I discovered, that the daemon-loop doesn't look for /tmp/pup_event_icon_change_flag .

It is a little confusing, that some functions at /sbin/pup_event_fronend_d and /etc/rc.d/functions4puppy4 are resembling each other .

For now I've done some new adjustments to /sbin/pup_event_frontend_d, which seem to work fine :
Code:
#v407 poll to see if a ls120 or zip floppy diskette inserted...
 for ONEFLOPPY in $DRVS_FLOPPY
 do
  [ "$ONEFLOPPY" = "" ] && continue #precaution
  probe_floppy_func $ONEFLOPPY
 done
 if test -f /tmp/pup_event_icon_change_flag ; then
 ICONWIPE=`cat /tmp/pup_event_icon_change_flag`
  if [ "$ICONWIPE" = "ICONWIPE" ] ; then
  Floppy=`mut drivelist | grep -o fd[0-9]`
  Partitions=` probepart -s | grep -v none | grep -v swap | cut -f 1 -d '|' | cut -f 3 -d '/'`
  [ "$Floppy" != "" ] && for i in $Floppy; do icon_remove_func $i ; done; i=0
  [ "$Partitions" != "" ] && for i in $Partitions; do icon_remove_func $i; done ; i=0
  sleep 1
  for i in $Floppy; do icon_unmounted_func $i ; done; i=0
  for i in $Partitions; do icon_unmounted_func $i; done ; i=0
  Mounted=`mount | grep mnt | cut -f 1 -d " " | cut -f 3 -d '/'`
  for i in $Mounted; do icon_mounted_func $i; done; i=0
  Rootdevice=`df | grep -w '/' | tr -s " " | cut -f 1 -d " " | cut -f 3 -d '/'`
  icon_mounted_func $Rootdevice
  sync
  rm -f /tmp/pup_event_icon_change_flag
  fi
 fi
done #2 second loop.
###END###
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 15 of 15 [211 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
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.0529s ][ Queries: 12 (0.0312s) ][ GZIP on ]