1
0

Source code upload

This commit is contained in:
calmsacibis995
2022-09-29 17:59:04 +03:00
parent 72fa9da3d7
commit 8fc8fa8089
33399 changed files with 11964078 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
#!/sbin/sh
#Tag 0x00000f00
#
# Start X Font Server
#
# $Revision: 1.10 $
#
IS_ON=/sbin/chkconfig
CONFIG=/var/X11/xfs/config
FS=/usr/bin/X11/xfs
if $IS_ON verbose ; then
ECHO=echo
else
ECHO=:
fi
case "$1" in
'start')
if $IS_ON fontserver; then
$ECHO "X Font Server setup: \c"
if test -x $FS; then
$ECHO "xfs\c"
/sbin/suattr -C CAP_NETWORK_MGT,CAP_MAC_RELABEL_OPEN,CAP_MAC_MLD,CAP_MAC_UPGRADE,CAP_MAC_DOWNGRADE+ip -c "$FS" &
else
$ECHO "can not execute $FS\c"
fi
$ECHO "."
fi
;;
'stop')
/sbin/killall -TERM xfs
;;
*)
echo "usage: /etc/init.d/fontserver {start|stop}"
;;
esac