Skip to content

Commit 1154e0c

Browse files
committed
more directory creation and management
1 parent b5569e4 commit 1154e0c

6 files changed

Lines changed: 29 additions & 2 deletions

debian/ka9q-radio-common.postinst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
case "$1" in
22
configure)
3+
addgroup --system radio || true
4+
install -d -m 0775 -o radio -g radio /etc/radio
5+
install -d -m 0775 -o radio -g radio /var/lib/ka9q-radio
6+
install -d -m 0775 -o radio -g radio /usr/share/ka9q-radio
37
/usr/bin/set_lo_multicast || true
48
;;
59
esac

debian/ka9q-radio-common.tmpfiles

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
d /etc/radio 0775 radio radio -
22
z /etc/radio 0775 radio radio -
3-
d /usr/share/ka9q-radio 0775 radio radio -
4-
z /usr/share/ka9q-radio 0775 radio radio -
53
d /var/lib/ka9q-radio 0775 radio radio -
64
z /var/lib/ka9q-radio 0775 radio radio -
5+
d /usr/share/ka9q-radio 0775 radio radio -
6+
z /usr/share/ka9q-radio 0775 radio radio -

debian/ka9q-radio-ft.postinst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
case "$1" in
2+
configure)
3+
addgroup --system radio || true
4+
install -d -m 0775 -o radio -g radio /var/lib/ka9q-radio/ft8
5+
install -d -m 0775 -o radio -g radio /var/lib/ka9q-radio/ft4
6+
install -d -m 0775 -o radio -g radio /var/lib/ka9q-radio/wspr
7+
/usr/bin/set_lo_multicast || true
8+
;;
9+
esac
10+
11+
#DEBHELPER#

debian/ka9q-radio-ft.tmpfiles

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ d /var/lib/ka9q-radio/ft4 0775 radio radio -
44
z /var/lib/ka9q-radio/ft4 0775 radio radio -
55
d /var/lib/ka9q-radio/wspr 0775 radio radio -
66
z /var/lib/ka9q-radio/wspr 0775 radio radio -
7+

debian/ka9q-radio-hfdl.postinst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
case "$1" in
2+
configure)
3+
addgroup --system radio || true
4+
install -d -m 0775 -o radio -g radio /var/lib/hfdl
5+
/usr/bin/set_lo_multicast || true
6+
;;
7+
esac
8+
9+
#DEBHELPER#
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
d /recordings 0775 radio radio -
2+
z /recordings 0775 radio radio -

0 commit comments

Comments
 (0)