1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00
Commit graph

177 commits

Author SHA1 Message Date
Alexandre Aubin
0d2f5f5c40 Fix install miserably failing + other weird stuff 2020-11-29 03:51:33 +01:00
Alexandre Aubin
d8003bf3ba
Update install 2020-11-02 19:54:21 +01:00
Alexandre Aubin
34abf52162 No need to reload nginx/php-fpm, the helpers already handle it 2020-09-24 00:05:30 +02:00
Alexandre Aubin
79f1e5a2a1 Fix regression about lock issues by removing the need to call yunohost commands from inside the service script 2020-07-07 17:06:58 +02:00
yalh76
82aa3bb0bd Fix service add 2020-06-27 17:44:26 +02:00
yalh76
d5d9fcbcb9 manage upgrade from 29 Jan 2019
mv: cannot move '/etc/php/7.0/fpm/pool.d/wifiadmin.conf' to '/etc/php//fpm/pool.d/hotspot.conf': No such file or directory
2020-06-15 23:04:19 +02:00
yalh76
344ba7b541 Apply example_ynh 2020-06-15 23:04:19 +02:00
Kayou
918951b721
fix remove 2019-07-21 18:31:12 +02:00
Alexandre Aubin
b858a19517
Merge branch 'master' into update-scripts-to-the-new-standard 2019-03-21 02:18:37 +01:00
Kayou
3f20eb42b4
Restore firmware_nonfree to a choice 2019-03-19 21:33:16 +01:00
Alexandre Aubin
fcfe018a74
Merge branch 'master' into update-scripts-to-the-new-standard 2019-03-14 03:11:49 +01:00
Alexandre Aubin
e51559d856
Also set DAEMON_CONF in /etc/default/hostapd 2019-03-14 02:39:00 +01:00
Alexandre Aubin
9a68383abb
Unmask hostapd 2019-03-14 02:38:06 +01:00
Alexandre Aubin
b909ba3b9b
The script miserably crash if the command fails ... better to test the command in the if directly, no need to use $? 2019-03-12 18:17:04 +01:00
Kayou
3757b70454
fix service_name if empty 2019-03-11 00:44:58 +01:00
Kayou
f7c255a9cf
Fix the upgrade from an old commit 2019-03-11 00:34:27 +01:00
Alexandre Aubin
44796a9efc Force firmware_nonfree to no on armbian 2019-02-28 23:56:22 +01:00
Kayou
31f30fac54
Update remove 2019-02-26 08:48:04 +01:00
Kayou
b118b790b9
Retrieve service_name in upgrade script 2019-02-26 01:31:37 +01:00
Kayou
6971c9626a
tab 2019-02-26 01:29:05 +01:00
Kayou
b3ed0f43af
Don't store packages in settings 2019-02-26 01:27:39 +01:00
Kayou
e376c50ad6
--need_lock on restore 2019-02-26 01:24:01 +01:00
Kayou
fab4ff8643
chown on upgrade and restore 2019-02-26 01:21:09 +01:00
Kayou
4e940b3b41
remove improvement script 2019-02-26 01:11:59 +01:00
Kayou
fd6172d2c7
remove update (done by ynh_install_app_dependencies) 2019-02-26 01:11:22 +01:00
Kayou
a22dabea12
change chown 2019-02-26 01:11:02 +01:00
Kayou
e2e0c0bab7
Merge branch 'master' into update-scripts-to-the-new-standard 2019-02-24 22:51:19 +01:00
Kayou
89b59655d5
Fixing backup restore 2019-02-24 22:21:59 +01:00
Kayou
d8667b93ae
Create folder in restore script 2019-02-24 22:04:02 +01:00
Kayou
ec0fb4bc5d
Fixing restore 2019-02-24 21:25:41 +01:00
Kayou
7031d015be
fix service name 2019-02-24 21:00:28 +01:00
Kayou
06b7a47139
Merge branch 'update-scripts-to-the-new-standard' of github.com:kay0u/hotspot_ynh into update-scripts-to-the-new-standard 2019-02-24 20:42:59 +01:00
Kayou
973dd5d2e9
service_name missing in Backup Script 2019-02-24 20:42:52 +01:00
Pierre Bourré
7f480683ba
[WIP] Upgrade script 2019-02-23 23:47:45 +01:00
Pierre Bourré
b7ae9f4973
Store $packages 2019-02-23 23:46:18 +01:00
Pierre Bourré
1618d3fbbb Fixing the install 2019-02-23 23:17:23 +01:00
Kayou
f1861e7ad4
Removing more files 2019-02-23 02:12:04 +01:00
Kayou
4da218f982
Implementing restore script 2019-02-23 02:05:54 +01:00
Kayou
76ebbd97e2
Implementing backup script 2019-02-23 02:05:34 +01:00
Kayou
f519a9611b
More checksum 2019-02-23 02:04:57 +01:00
Kayou
79ec958aad
Store checksum 2019-02-23 01:40:10 +01:00
Kayou
ff5fb06ea1
Fixing permission 2019-02-23 01:39:09 +01:00
Kayou
16e6e1582d
Update remove script 2019-02-23 01:22:56 +01:00
Kayou
23454dff02
Don't need to reload php fpm 2019-02-23 01:09:49 +01:00
Kayou
d42cd3db10
no more sudo 2019-02-23 01:01:18 +01:00
Kayou
dcfb292d75
Fixing some errors 2019-02-23 00:56:02 +01:00
Kayou
6ed5b79d45
Complete refactor of the install script 2019-02-23 00:46:33 +01:00
Kay0u
baa678b6d5 remove: using ynh_remove_app_dependencies 2019-02-20 19:48:43 +01:00
Kay0u
86e543231a remove: using ynh_remove_systemd_config 2019-02-20 19:47:32 +01:00
Kay0u
d90f5ff323 install: using ynh_add_systemd_config 2019-02-20 19:46:27 +01:00
Kay0u
4637e28176 install: $packages has dependencies 2019-02-20 19:46:07 +01:00
Alexandre Aubin
440662a956 During upgrade : make sure that the yunohost service has a description and need-lock enabled 2019-02-19 08:38:12 +01:00
Alexandre Aubin
3a9ade4d98 Use 'yunohost service' in remove script 2019-02-19 08:38:12 +01:00
Alexandre Aubin
b9bce541d1 Systemctl is fine with regular services ;) 2019-02-19 08:38:12 +01:00
keoma
212cd7ca18 Fix #47 2019-02-19 08:38:12 +01:00
Kayou
08a9db3fb5
Fix restore 2019-02-18 12:55:42 +01:00
Alexandre Aubin
16b705afde
Fix some warnings and issues with file deletions 2019-02-18 12:03:24 +01:00
Alexandre Aubin
1f5aece416
Merge pull request #48 from keomabrun/dev_47
move the service enable statement
2019-02-16 19:17:24 +01:00
keoma
63c58ce5c2 move the service enable statement 2019-02-16 00:42:11 +01:00
keoma
9ba23345a3 fix getting the vpnclient settings 2019-02-15 22:41:37 +01:00
keoma
5de8193998 create a dedicated system user with sudo permissions 2019-02-12 08:40:20 +01:00
keoma
e52b30cff8 #42 using systemctl to get service status 2019-02-11 20:28:18 +01:00
keoma
290b9954ac add service description 2019-02-10 16:51:06 +01:00
keoma
aa3d54b6b4 removing -v from ynh_app_setting_set 2019-02-10 01:18:23 +01:00
keoma
c5c3b33025 Revert "firmware_nonfree is now a boolean"
This reverts commit 898604a772.
2019-02-10 01:13:04 +01:00
keoma
898604a772 firmware_nonfree is now a boolean 2019-02-09 15:18:42 +01:00
keoma
7d3f8bedc3 replace yunohost app setting by helper 2019-02-09 13:35:46 +01:00
keoma
8617c23c2b properly using ynh_secure_remove 2019-02-09 13:03:20 +01:00
keoma
e4ea067b26 Revert "now using ynh_secure_remove helper"
This reverts commit e4c80d4c6b.
2019-02-09 12:55:45 +01:00
keoma
e4c80d4c6b now using ynh_secure_remove helper 2019-02-09 12:51:11 +01:00
keoma
bfcf8067f3 removing sudo calls 2019-02-09 12:42:19 +01:00
Alexandre Aubin
546fd17712 Fix tests on the CI (level 2) 2019-01-29 22:07:27 +01:00
Keoma Brun
7cbd23c1ec using new helpers and script formatting 2018-05-10 14:15:18 +02:00
Julien Vaubourg
5ee291480d Use systemctl helper to avoid deadlocks with ynh 2.7 and check path avaibility with no deprecated method 2017-08-30 14:30:14 +02:00
Julien Vaubourg
0637cdf401 Fix upgrade/restore script 2016-05-14 21:24:20 +02:00
Julien Vaubourg
852d331df3 Add xlock waiting to iptables commands 2016-05-07 23:30:38 +02:00
Julien Vaubourg
6fd4b34055 Clean prerequisites and fix css outline for tabs 2015-09-29 18:01:10 +02:00
Julien Vaubourg
4ca40efb43 Fixes #24 2015-09-15 22:21:27 +02:00
Julien Vaubourg
aaf747d5ca Add non-free for security repo, and add sudo command for sed 2015-09-15 19:53:57 +02:00
Émile Morel
36f930fc2f add -q to grep 2015-08-21 14:50:09 +02:00
Émile Morel
b175d5a01c add non-free in sources.list 2015-08-21 14:25:22 +02:00
Julien VAUBOURG
19a6ae7d64 Save settings before upgrading 2015-07-26 10:43:44 +02:00
Julien VAUBOURG
1a9ef49ea5 Add backup/restore scripts 2015-07-25 16:33:38 +02:00
Julien VAUBOURG
8c92752728 Add IPv6 firewalls (close #12) 2015-07-24 23:48:24 +02:00
Julien VAUBOURG
33cce740f0 Improve upgrade script 2015-07-24 19:44:43 +02:00
Julien VAUBOURG
af37173677 Fix small error on install 2015-07-24 19:20:19 +02:00
Julien VAUBOURG
28a545a6f2 Update upgrade 2015-07-24 19:09:56 +02:00
Julien VAUBOURG
90697ce386 Update upgrade 2015-07-24 18:54:59 +02:00
Julien VAUBOURG
69a212d5da Update upgrade 2015-07-24 18:52:25 +02:00
Julien VAUBOURG
979e467ef0 Update upgrade 2015-07-24 18:43:19 +02:00
Sebastien Badia
12f7fd9d1d doc: Fix Contribute link (update namespace) 2015-07-22 23:54:56 +02:00
Julien VAUBOURG
df9eca4d0f Fix name error for atheros free firmwares 2015-07-22 19:44:11 +02:00
Julien VAUBOURG
24fb24100a Update upgrade script 2015-07-13 19:40:34 +02:00
Julien VAUBOURG
138a6f6f0e Add upgrade 2015-07-13 17:23:33 +02:00
Julien VAUBOURG
a4a7838255 Add upgrade script 2015-07-13 16:01:38 +02:00
Julien VAUBOURG
ee0b1de8c1 Add upgrade script 2015-07-13 15:59:05 +02:00
Julien VAUBOURG
e15fb76389 Ready for Jessie (+ some improvements) 2015-05-25 02:23:28 +02:00
Sebastien Badia
f7187c4c43 systemd: Add missing clean for init sh script 2015-05-14 16:29:59 -07:00
Sebastien Badia
78b5bb43f4 systemd: migrate the SySv init script to a simple bash script 2015-05-12 09:30:55 +02:00
Sebastien Badia
428e5d789f systemd: Convert services (SySv init) to systemctl (systemd) commands 2015-05-12 09:16:53 +02:00