Commit Graph

194 Commits

Author SHA1 Message Date
9b5e190277 fix sethostname.sh: check for end0 before eth0
+ correct boot order
2025-07-10 13:14:47 +02:00
d78b2e255e add waitboot.service 2025-07-08 08:33:54 +02:00
e008ae11f5 command 'frappy cli' does now connect to the configured frappy
and not scanned frappy servers
2025-07-08 08:27:59 +02:00
df19b1c8a0 allow inline comments with '#' in box cfg files 2025-07-08 08:15:52 +02:00
16c58c7bb1 enale-linger needs root, python3 in start_frappy 2025-07-07 16:54:27 +02:00
334827247d rename apu6 to leiden 2025-07-07 16:50:21 +02:00
4d81828096 change to gitea 2025-07-07 16:50:21 +02:00
4e622d5a1c write_when_new, gitea, ifup/ifdown
- create parent directory with root access, if needed
- omit gitea check when repo is not available
- replace 'ifup <net>  by  ifconfig <net> up'
2025-06-26 19:31:33 +02:00
398943fd92 DIL5: change to predictable NIC names 2025-06-27 16:29:45 +02:00
9fa90d938f allow command 'frappy cli' 2025-06-27 16:29:45 +02:00
8c06dca894 fix destination in clone script (linse-c!) 2025-06-27 16:19:32 +02:00
ab195cc90f allow predictable network interfaces
on dual-eth-raspi:
- eth0 -> end0
- eth1 -> enx...
2025-06-27 16:02:38 +02:00
fe95372127 add emmc writer 2025-06-27 15:25:27 +02:00
871c65ff9e let start_frappy be the only process 2025-06-27 14:00:01 +02:00
a9ff9d66a5 add delay as argument to start_frappy 2025-06-27 12:43:51 +02:00
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