summaryrefslogtreecommitdiff
path: root/hscript/meta.hh
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/meta.hh')
-rw-r--r--hscript/meta.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/hscript/meta.hh b/hscript/meta.hh
index 32f8eb7..3d1382e 100644
--- a/hscript/meta.hh
+++ b/hscript/meta.hh
@@ -146,6 +146,17 @@ public:
bool execute() const override;
};
+class RootShell : public StringKey {
+private:
+ RootShell(const Script *_s, const ScriptLocation &_p,
+ const std::string &_v) :
+ StringKey(_s, _p, _v) {}
+public:
+ static Key *parseFromData(const std::string &, const ScriptLocation &,
+ int *, int *, const Script *);
+ bool execute() const override;
+};
+
class Bootloader : public Key {
private:
const std::string _device;