Thread
:
[Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
View Single Post
noobmonkey
2010-02-28 , 15:32
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#
194
ok... getting there i think now...
SO for example my sudoers file would for example look like this?
user ALL = NOPASSWD: /apt-get %users ALL = NOPASSWD: /sbin/reboot
i'm assuming id i put apt-get in there, i can use all apt-get commands if needed?
(Just tring to find apt-get so i can put it in the right path...
Now.....
two files in debian control
postinst & postrm
No idea what you mean, as when i package i then use autobuilder - and tbh - never heard of debian control etc... (Really new to linux and python, sorry)
But the code looks just like something i need to put in a file!..
Code:
#!/bin/sh #update sudoers update-sudoers
So am i right i nthinking i need to create a postinst & postrm file with this code in it? ... if so, where do i put these files, and how to they get run? (Auto by app manager?)
Sorry for the multiple q's!
__________________
----------- Follow me on
Twitter
here
----------- My
Photography Website and Blog
is
here
----------- Author of the N900
Health Check Application
----------- New Version in Extras Devel (Dec 2010 -
2.9.10
)
----------- Are you on the N900 World Map? -
http://pininthemap.com/maemo
- masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo
in the future
? -
Quote & Reply
|
noobmonkey
View Public Profile
Send a private message to noobmonkey
Find all posts by noobmonkey