mirror of
https://github.com/troglobit/finit.git
synced 2026-10-17 10:49:34 +00:00
Added Edit command
Command Edit <CONF> opens file /etc/finit.d/available/<CONF>.conf in the editor referenced by Linux environment variable $EDITOR If $EDITOR is not set it will try to open emacs and if emacs is not found it will try to open the file in vim. Signed-off-by: Andreas Egeberg <andreas.egeberg@gmail.com>
This commit is contained in:
1 parent
fc82f0242c
commit
60d0ca1075
3 files changed
+35
-1
No files matched your search
@@ -28,6 +28,7 @@ int serv_list (char *arg);
|
||||
int serv_enable (char *arg);
|
||||
int serv_disable (char *arg);
|
||||
int serv_touch (char *arg);
|
||||
int serv_edit (char *arg);
|
||||
|
||||
#endif /* FINIT_SERV_H_ */
|
||||
|
||||
|
||||
Reference in new issue
Block a user