I finally got my hands into coding something for the services. Ive
attached the script to this mail.
The output will be the following
/usr/local/share/kadischi/post_install_scripts/07services.sh
[Kadischi][post-install-script:07services.sh]
0 ) anacron is disabled!
1 ) atd is disabled!
2 ) avahi-daemon is disabled!
3 ) bluetooth is disabled!
4 ) crond is disabled!
5 ) cups is disabled!
6 ) cups-config-daemon is disabled!
7 ) gpm is disabled!
8 ) hplip is disabled!
9 ) iptables is disabled!
error reading information on service isdn: No such file or directory
11 ) nfslock is disabled!
12 ) mdmonitor is disabled!
13 ) portmap is disabled!
14 ) netfs is disabled!
error reading information on service ntslocl: No such file or directory
16 ) sendmail is disabled!
17 ) sshd is disabled!
18 ) syslog is disabled!
19 ) rpcgssd is disabled!
20 ) rpcidmapd is disabled!
21 ) xfs is disabled!
The idea behind my script is to be interactive in the choice of services.
by the way, It requires zenity.
Chitlesh GOORAH
--
http://clunixchit.blogspot.com