summaryrefslogtreecommitdiff
path: root/editors/xemacs/files/xemacs21.sh
blob: 80166e668d5ff33c8f4be3dd5e8f2e1ab4641373 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# script to create the lock directory in case it was
# removed in /etc/rc
#echo -n ' Xemacs'
if [ -d /var/run/emacs/lock ]
then
# delete any junk which may have been left around
	rm -f /var/run/emacs/lock/*
else
	mkdir -p /var/run/emacs/lock
fi
# can always do this
chmod 1777 /var/run/emacs/lock
exit 0