86eef4e0f6
make sure frappy is started on boot
...
this is a not-so-easy problem of timing
change includes a 'start_frappy' script, which gets port and
cfg from the box config file. so install does no longer need
to be executed when cfg or port is changed
2025-06-27 11:35:03 +02:00
d9ac7c9e71
create path when parent of file to be written does not exist
...
+ usage for frappy command
2025-06-26 08:41:22 +02:00
8406a127e6
enable-linger does not need root
2025-06-25 08:25:19 +02:00
50a2390c3b
treat as_root properly in check_service
2025-05-28 13:38:55 +02:00
f91bb1e725
boxweb page to be in box config
...
+ rename dil5_statemachine to dil5
2025-05-28 12:00:26 +02:00
ebb3e16050
add 'frappy' and 'boxweb' bash functions
2025-05-28 11:59:27 +02:00
7136fcfd9f
allow arguments for gitea.py to specify repo
2025-05-28 11:58:10 +02:00
99580aad78
introduce 'to_home' and systemd user services
...
- frappy is now a systemd user service
- add 'frappy' and 'boxweb' bash function
2025-05-28 11:54:21 +02:00
1a6b133afa
fix execute argument in unix_cmd
2025-05-20 08:17:35 +02:00
d8d4394e03
linse-dil5: version and remove router
2025-05-20 08:07:56 +02:00
1c6f16f51a
rename and modify linse-rpi7 to linse-dil5
2025-05-20 08:06:04 +02:00
5ba3bba33b
rename old dil5 apu
2025-05-20 08:06:04 +02:00
c4a8cee558
add 'version' to box info
...
version 0: git.psi.ch repo
version 1: gitea.psi.ch repo
2025-05-20 07:58:15 +02:00
30369aff3c
mkdir with proper owner
...
- using sudo only when not in user account
+ fix typo
2025-05-08 14:52:47 +02:00
f41b76633b
make dir if needed
2025-05-08 14:50:27 +02:00
c4f2665b98
add frappy to the repos to update to gitea
2025-05-08 14:25:39 +02:00
6588f445c8
add EDITOR to sshd_config
2025-05-07 13:16:46 +02:00
c284e97d53
show pip command if execution is needed
2025-04-28 14:59:59 +02:00
3899d27c1d
set also GIT_COMMITTER_EMAIL and .._AUTHOR
2025-04-28 14:52:12 +02:00
13210d987e
do not execute pip when not needed
2025-04-28 14:29:22 +02:00
b3cd338a1e
setuser: do not use LC_IDENTIFICATION anymore
...
rather allow GIT* env variables to pass through ssh
2025-04-28 13:31:49 +02:00
PREVENT_DEFAULT
16bb53784c
fixed bugs in regex pattern
2025-04-17 16:46:08 +02:00
9c707e2375
change filemode mechanism in gitea.write_when_new
2025-04-17 16:36:17 +02:00
cddf70bcdd
change setuser mechanism
...
rely on the fact the LC_IDENTIFICATION (and other LC_*)
environment variables are forwarded from an ssh client to the
server
2025-04-17 16:29:56 +02:00
fefb87dfe6
change names and location of rc scripts
2025-04-17 16:22:26 +02:00
l_samenv
65967db63e
add frappy flowsas to linse-rpi5
2025-04-14 14:12:37 +02:00
ff291c59e5
rpi/clone: make chdir more robust
2025-04-14 10:50:07 +02:00
68bf2b1d0b
no network section for ionopi
2025-04-14 10:38:20 +02:00
ae48007b50
fix permissions of hooks
2025-04-14 10:37:59 +02:00
cf4706d1e2
mak box type more consistent and display it anyway
...
- 'rpi' instead of 'ionopi' for a simple raspberry pi
+ fix dirty flag when dhcp server is modified
2025-04-14 10:36:00 +02:00
094694df49
allow to start rpi/clone script outside rpi subdirectory
2025-04-14 10:34:37 +02:00
75691c0ed5
fixes in write_when_new
...
- create files with g/o read
- fix superfluos remove of tmpfile
2025-04-09 15:46:52 +02:00
32a65f0a66
fix bad key for FRAPPY.cfg in fi and fs
2025-04-09 14:30:15 +02:00
cafa57bcb6
renamed linse-rpi2 to linse-fi
2025-04-09 14:28:06 +02:00
4e6a897b29
fix return value of gitea.write_when_new
2025-04-09 14:26:28 +02:00
7da25d4190
listboxes: make nicer
2025-04-09 14:12:34 +02:00
71c5ec34eb
make listboxes work when bin/listboxes is a symlink
2025-04-09 11:42:01 +02:00
ef3ee7775a
listboxes: show router ports
2025-04-09 11:40:32 +02:00
420db466f1
add linse-fs
2025-04-09 09:54:15 +02:00
2dfc71001a
do not consider network installs when not specified
2025-04-09 09:45:12 +02:00
e48e1302c0
add listboxes command
2025-04-09 09:44:45 +02:00
16af1ddf2d
make get_gitea_token exectuable
2025-04-09 07:56:56 +02:00
l_samenv
012d5c2a51
linse-rpi10: remove duplicate section BOX
2025-04-09 07:32:45 +02:00
89425d9ce4
NETWORK section is optional
2025-04-08 15:06:07 +02:00
ee5f9924f8
remove sudo in message about restart
2025-04-08 14:58:45 +02:00
0b3dacfb32
remove boxid from cfg file name
2025-04-08 14:50:50 +02:00
f28b1bcabd
fix hooks path
...
+ use fallback instead of catching error
2025-04-08 09:53:28 +02:00
785eb76ca6
fix hooks path
...
+ use fallback instread of catching error
2025-04-08 09:51:35 +02:00
90776bfeef
fix gitea.py
2025-04-08 09:45:38 +02:00
c2747e884d
install.py: include fixing gitea repo
2025-04-08 09:41:42 +02:00