chris_c
Member
- Joined
- Jun 25, 2010
- Messages
- 393
- Age
- 56
Given that there are a limited number of loop device and more importantly other resources like memory are in use when a pnd is mounted and run, I was surprised to see a number of system pnd's containing a single line calling scripts in /usr/pandora/scripts
The .desktop file contains a command to run namely its its exec entry, when a menu or desktop item is clicked
for example toggle wifi
/usr/pandora/scripts/pnd_run.sh -p "/usr/pandora/apps//op_wifi.pnd" -e "op_wifi.sh" -b "op_wifi"
looking in op_wifi.pnd we have the script
#!/bin/bash
sudo /usr/pandora/scripts/op_wifi.sh
What I am struggling to understand is why not just have the
sudo /usr/pandora/scripts/op_wifi.sh
in the .desktops exec line then you wouldn't need to have the pnd...
What am I missing here?
The .desktop file contains a command to run namely its its exec entry, when a menu or desktop item is clicked
for example toggle wifi
/usr/pandora/scripts/pnd_run.sh -p "/usr/pandora/apps//op_wifi.pnd" -e "op_wifi.sh" -b "op_wifi"
looking in op_wifi.pnd we have the script
#!/bin/bash
sudo /usr/pandora/scripts/op_wifi.sh
What I am struggling to understand is why not just have the
sudo /usr/pandora/scripts/op_wifi.sh
in the .desktops exec line then you wouldn't need to have the pnd...
What am I missing here?