Moved to new phase
This commit is contained in:
34
configs/rc.d/seatd
Executable file
34
configs/rc.d/seatd
Executable file
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
# ============================================================================
|
||||
# DarkForge Linux — seatd daemon
|
||||
# ============================================================================
|
||||
# Seat manager — provides access to GPU, input devices, and sound hardware
|
||||
# for unprivileged user sessions. Required by wlroots/dwl for Wayland.
|
||||
# The autologin user must be in the 'video' group.
|
||||
# ============================================================================
|
||||
|
||||
DAEMON="/usr/bin/seatd"
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
if [ -x "$DAEMON" ]; then
|
||||
${DAEMON} -g video &
|
||||
echo " seatd started (group: video)"
|
||||
else
|
||||
echo " seatd not found at ${DAEMON}"
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
killall seatd 2>/dev/null
|
||||
echo " seatd stopped"
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user