projects
/
outofuni
/
dib.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
stupid! if it does not exist, dd it!
[outofuni/dib.git]
/
post_routines
/
nellboard
/
leds
1
#!/bin/bash
2
3
cat > /lib/systemd/system/gled.service << EOF
4
[Unit]
5
Description=Switching on the green LED
6
After=sshd.service dnsmasq.service
7
8
[Service]
9
Type=oneshot
10
ExecStart=/usr/bin/nellcmd gled on yled off
11
12
[Install]
13
WantedBy=multi-user.target
14
EOF
15
16
systemctl enable gled.service
17