[unmaintained] init scripts for sinit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

59 lines
1.2 KiB

#!/bin/sh
#
# urc.conf - configuration for urc
#
# This is a space-separated list of all daemons which are listed to the user
DAEMONS="syslog-ng iptables alsa crond dbus wpa_supplicant dhcpcd sshd privoxy polipo acpid mpd vsftpd lighttpd ntpd"
# This is a space-separated list of daemons which are run on boot.
# You may prefix a daemon name with a "@" character to make it run in the background
ENABLED="@syslog-ng @crond @dhcpcd @sshd"
# The device of the wired network
NETWORK_INTERFACE="eth0"
# The device of the wireless network
WIFI_INTERFACE="wlan0"
# Set the hostname
HOSTNAME="$(cat /etc/hostname)"
# Set the keyboard layout
KBLAYOUT="us"
# Set the udev implementation (systemd|eudev|smdev|busybox)
UDEV="busybox"
# Set the timezone
# Find your timezone in /usr/share/zoneinfo
TIMEZONE="America/New_York"
## FUNCTIONS
# This function starts daemons
custom_start () {
case "$1" in
*)
default_start "$@"
;;
esac
}
# This function stops daemons
custom_stop () {
case "$1" in
*)
default_stop "$@"
;;
esac
}
# This function checks daemon status
custom_poll () {
case "$1" in
*)
default_poll "$@"
;;
esac
}