blob: c6976c1b8a18515f755c4f4ee8e4982fe61b5732 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
case "$1" in
start)
if [ -d /var/run/emacs/lock ]
then
rm -f /var/run/emacs/lock/*
else
mkdir -p /var/run/emacs/lock
fi
chmod 1777 /var/run/emacs/lock
;;
stop)
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
exit 64
;;
esac
exit 0
|