Intro
Downloads
Community
Development
News
TALK
Power Search
Today's Posts
Search
Register
Talk FAQ
Community
Forgot Password?
Active Topics
Is there a section to talk about Java ME? Apps, etc. (3)
to
General
by Kalatti - 1 day, 17 hrs ago
more...
maemo.org
>
Talk
>
Talk
>
Off Topic
> How to execute script each time internal memory is mount ?
Community Links
Members List
Search Forums
Show Threads
Show Posts
Tag Search
Advanced Search
Find All Thanked Posts
Go to Page...
Thread Tools
mymybib
2010-10-11 , 20:23
Posts: 50 | Thanked: 45 times | Joined on Dec 2009 @ France
#
1
Hi,
How could I run a script each time the internal memory was mount ?
I want to check each time I unplug the usb cable if a nasty windows host has put an autorun.inf file on my internal memory.
Last edited by mymybib; 2010-10-11 at
21:59
. Reason: Better english ?
Quote & Reply
|
mymybib
View Public Profile
Send a private message to mymybib
Find all posts by mymybib
egoshin
2010-10-12 , 17:38
Posts: 992 | Thanked: 995 times | Joined on Dec 2009 @ California
#
2
Put it into /etc/if-pre-up.d/ directory if you want to run it BEFORE.
And use /etc/if-post-down.d/ if you want to run it AFTER disconnect.
Quote & Reply
|
egoshin
View Public Profile
Send a private message to egoshin
Find all posts by egoshin
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Talk
General
Brainstorm
Community
Off Topic
Software
Applications
Multimedia
Games
Themes
Design
OS / Platform
SailfishOS
NeoFremantle
MeeGo / Harmattan
Maemo 5 / Fremantle
Maemo 7 / Leste
OS2008 / Maemo 4 / Chinook - Diablo
OS2006 / Maemo 2 / Mistral - Scirocco - Gregale
Development
Alternatives
Android
FirefoxOS
Nemo Mobile
Tizen
Ubuntu
Devices
Sailfishes
Turing Phone
JollaC & Intex Aqua Fish
Jolla Tablet
Jolla1 & TOH
The Other Half
Neo900
Nokia N9 / N950
Nokia N900
Nokia N810
Nokia N800
Nokia 770
Accessories
Competitors
Buy & Sell
Old
News
Announcements
Troubleshooting
Upgrading
Newbie
Tablet 101
OS2007 / Maemo 3 / Bora
OS2005 / Maemo 1
All times are GMT. The time now is
18:43
.
-- talk.maemo.org
-- Classic Light
---- Classic Dark
-- Minimalist Light
---- Minimalist Dark
Contact Us
-
Home
-
Archive
-
Top
How could I run a script each time the internal memory was mount ?
I want to check each time I unplug the usb cable if a nasty windows host has put an autorun.inf file on my internal memory.
Last edited by mymybib; 2010-10-11 at 21:59. Reason: Better english ?