File: postinst

package info (click to toggle)
idled 1.16-9
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 356 kB
  • ctags: 391
  • sloc: ansic: 2,886; yacc: 319; makefile: 150; lex: 69; sh: 37
file content (17 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

# Only give this verbose message if not upgrading
if [ "$1" = configure ] && [ "$2" = "" -o "$2" = "<unknown>" ]
then

echo "The idle daemon will be activated now and will log users out after"
echo "30 minutes of idle time. If you do not want this then either uninstall"
echo "idled or customize /etc/idled.cf according to your needs."
echo -e "\nIf you are running dselect over a modem line then this might"
echo "disconnect you when you leave things unattended."
echo -e "\nPress Enter to continue."
read

fi