Thread
:
[Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
View Single Post
fred123
2010-02-28 , 14:38
Posts: 196 | Thanked: 54 times | Joined on Jan 2010 @ UK
#
192
two files in debian control
postinst & postrm
Code:
#!/bin/sh #update sudoers update-sudoers
create the following file
etc/sudoers.d/healthcheck.sudoers
Code:
user ALL = NOPASSWD: /<path>/command
put all the commands you need to run as root.
this will allow commands to be run as root when your package is installed, and stopped when package is removed.
Quote & Reply
|
The Following 2 Users Say Thank You to fred123 For This Useful Post:
attila77
,
noobmonkey
fred123
View Public Profile
Send a private message to fred123
Find all posts by fred123