File: postrm

package info (click to toggle)
cucipop 1.21-3
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 184 kB
  • ctags: 255
  • sloc: ansic: 1,663; sh: 149; makefile: 70
file content (7 lines) | stat: -rw-r--r-- 291 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/bash
set -e
update-inetd --remove ^pop-3.*/usr/sbin/cucipop
update-inetd --remove ^.*standalone.*.*/usr/sbin/cucipop
update-inetd --comment-chars "#<cucipop># " --enable pop-3
echo -e "Here is the state of the pop-3 service in inetd.conf:\n"
echo -e "$(grep pop-3 /etc/inetd.conf)\n"